PDA

View Full Version : still problems with rrd's


dobebo
25th August 2005, 13:58
Hello everybody,

It's me again, and again I have a question about rrd's and stuff.
My question/problem is:

I create a new service to let me show graphs (e.g. check_graph_ping)
I give it all the params that it wants and so far as I can see everything is fine (I get a output in Nagios)

But when it tells me that he is generating a rrd it is always the same problem: In the services.cfg I can see that it wants to name the rrd 15.rrd
but in the Graphs Section I get the message

File /usr/local/oreon/rrd/15.rrd is not accessible

because it generates me a rrd with the a different name (e.g. 1.rrd).

Permissons are
nagios nagios 4096 2005-08-25 11:53 rrd
and
drwxrwxrwx 2 nagios nagios 4096 2005-08-25 11:53 .
drwxr-sr-x 11 www-data www-data 4096 2005-08-15 08:42 ..
-rw-r--r-- 1 nagios nagios 203484 2005-08-25 13:10 12.rrd

How can I solve my problem ? Or is it a bug that is needed to be fixed.

Every help is welcomed

Regards

inconnuflo
25th August 2005, 14:14
where is the rrdtool folder ?

/usr/loca/rrdtool/ ????
/usr/local/rrdtool-1.0.49/ ?????

dobebo
25th August 2005, 14:25
/usr/share/rrdtool

inconnuflo
25th August 2005, 15:11
and your file RRDs.pm ??

wistof
25th August 2005, 15:31
because it generates me a rrd with the a different name (e.g. 1.rrd).

if you have a 1.rrd, your check_command syntax isn't good...
1.rrd is defaut rrd if '-S' option isn't specified or wrong..

can you post your exact check_command syntax, command arguments, and the line generated in services.cfg ?

dobebo
26th August 2005, 11:01
I found the problem, myself. It was a mistake made by me.
The Syntax was wrong. But I think only in this case. I've got serveral times were I tried to create a rrd and the file that was created had the wrong filename (e.g. Oreon said 13.rrd and the file that I find in the rrd folder is 9.rrd) and the syntax for the service was OK.


Regards