PDA

View Full Version : Check_graph_Ping or any other


BZ
03-06-2006, 09:12 PM
Guys, i have some trobles in this plug ins, maybe can anyone help me?


1 - Fris problem: when i configure service in service configuration i put:

Check_command : check_graph_ping
Check_command_arguments : -H 10.0.0.10(example) -g
or just Check_command_arguments : -g.

When i generate the nagios files, i get a error

Error: Service check command 'check_graph_ping-g' specified in service 'Grafico' for host 'india' not defined anywhere!

So, the generate dont do the "space" betwen the comand(check_graph_ping) and the argument (-g).

2 Second, i change the services.cfg manualy, now ok, works fine, i put in file Check_command : check_graph_ping -g and oreon crate 2.rdd in /usr/local/oreon/rrd/ but, when i click om monitor > graph service > graph link, the graph dont populate, still full clear every time.. i will post a screen:
http://img342.imageshack.us/img342/598/white4aw.jpg

i alread wait more than 2 hours, and when i do the command in prompt line, the return is OK:
[root@vmware rrd]# /usr/local/nagios/libexec/check_graph_ping.pl -H 10.0.0.10 -g
GPING OK - rtt min/avg/max/mdev = 0.056/0.056/0.056/0.000 ms, pipe 2


please healp me? =(

so, what i can do? =(

i like to thanks to DonkiShoot, he help me in some tings, REALY TKS MAN

wistof
03-06-2006, 11:43 PM
Hi Sergio,

did you read wiki ?

http://wiki.oreon-project.org/wakka.php?wiki=CheckGraphPingEN