PDA

View Full Version : can't generate file rrd automatically with check_graph_traff


beni
01-23-2006, 09:11 AM
Dear All,

I have installed oreon 1.2.2 successfully, and i have setup check_graph_traffic in our service. but why rrdtool generated automatically only 1 file, for example : 1.rrd(in /usr/local/oreon/rrd)
This is our command : $USER1$/check_graph_traffic.pl -H $HOSTADDRESS$ -w 98$ -c 99 -C friend -g -S $ARG1$

And frequently display error message like this :
unable to create /usr/local/oreon/rrd/1.rrd: illegal attempt to update using time 1138001026 when last update time is 1138001026 (minimum one second step)

Regards,
Beni

inconnuflo
01-23-2006, 10:52 AM
you haven't got network Interface with option "-i"

beni
01-23-2006, 11:23 AM
I have add -i but same result, rrdtool cannot generated new .rrd. if i try to open graphs by host in graphs, the error message display like this : "File /usr/local/oreon/rrd/54.rrd is not accessible"

inconnuflo
01-23-2006, 11:35 AM
what are your rigths of rrd folder ?

try to restart nagios by command line

beni
01-23-2006, 11:48 AM
permission mode of rrd folder : 775 and owner : nagios with group : nagios

inconnuflo
01-23-2006, 11:56 AM
restart nagios by shell

beni
01-23-2006, 12:24 PM
I have restarted nagios by shell, but the result is same, cannot generate .rrd file.

inconnuflo
01-23-2006, 12:41 PM
can you re-create this service to comparate theses 2 results ?

beni
01-23-2006, 01:08 PM
I have deleted old traffic service and create new traffic service, and the system created "1.rrd" file automatically. But if i try accessed in graphs by host(in section graphs), i found error message : "File /usr/local/oreon/rrd/60.rrd is not accessible"
File 60.rrd can't generated automatically by rrdtool. Only "1.rrd" file can generate automatically by rrdtool. Why?

julio
01-23-2006, 01:12 PM
your traffic plugin is'nt named like "check_graph.." ?

beni
01-23-2006, 01:35 PM
yes, i used plugin with check_graph_traffic.pl

julio
01-23-2006, 01:42 PM
how is your command for traffic ?

wistof
01-23-2006, 10:23 PM
Hello,

what is your command argument ?

beni
01-24-2006, 04:57 AM
This is my command :
$USER1$/check_graph_traffic.pl -H $HOSTADDRESS$ -i 2 -w 95 -c 99 -C friend -v 1 -g -S $ARG1$

inconnuflo
01-24-2006, 10:15 AM
have you got this command in shell ?

./check_graph_traffic.pl -H $HOSTADDRESS$ -i 2 -w 95 -c 99 -C friend -v 1

beni
01-24-2006, 10:34 AM
Thx you for all,

I have solved this problem, with add check_command_arguments : !2!95!99!public!1

NetCog
08-05-2006, 01:49 AM
Thx you for all,

I have solved this problem, with add check_command_arguments : !2!95!99!public!1

where and how did you add this?