it gave now<br>check_ping: Invalid hostname/address - $ <br>other commands work, only the ping it gave eror<br><br>i changed the ping the client to<br>command[check_local_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
<br>command[check_local_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ -c $ARG2$<br>command[check_local_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$<br>command[check_local_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$
<br>#command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 5<br>command[check_ping]=/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5<br><br><div class="gmail_quote">
On Jan 2, 2008 2:29 PM, <a href="mailto:ad@heapoverflow.com">ad@heapoverflow.com</a> <<a href="mailto:ad@heapoverflow.com">ad@heapoverflow.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>not sure but I think your check_ping command has an error, try<br>changing it to<br><br></div>//edit(based on your cfg):<br><div class="Ih2E3d"><br>
command[check_ping]=/usr/local/nagios/libexec/check_ping -H<br></div>$HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5<br><div class="Ih2E3d"><br><br>Mad Unix wrote:<br>> my nagios shows the following<br>><br>> check_ping: %s: Warning threshold must be integer or percentage!
<br>> on the server<br></div><div class="Ih2E3d">> define service{<br>>         use                             generic-service         ;<br>> Name of service template to use<br>>         host_name                       linux1
<br>>         service_description             PING<br>>         is_volatile                     0<br>>         check_period                    24x7<br>>         max_check_attempts              4<br>>         normal_check_interval           5
<br>>         retry_check_interval            1<br>>         contact_groups                  admins<br>>         notification_options            w,u,c,r<br>>         notification_interval           960<br>>         notification_period             24x7
<br>>         check_command<br></div><div class="Ih2E3d">> check_nrpe!check_ping!100.0,20%!500.0,60%<br>>         }<br>> on the client runnig nrpe<br>><br>> command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$
<br>> -w $ARG2$ -c $ARG3$ -p 5<br>><br></div><div class="Ih2E3d">> --<br>> madunix<br>><br>> ----------------------------------------------------------------------<br>><br>> -------------------------------------------------------------------------
<br>> This SF.net email is sponsored by: Microsoft<br>> Defy all challenges. Microsoft(R) Visual Studio 2005.<br>> <a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</a><br>><br>> ----------------------------------------------------------------------<br>><br>> _______________________________________________<br>> Nagios-users mailing list<br>> <a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>> ::: Please include Nagios version, plugin version (-v) and OS when
<br>reporting any issue.<br>> ::: Messages without supporting info will risk being sent to /dev/null<br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.7 (MingW32)<br><br></div>iD8DBQFHe4O1dS4H/t4eKFARAtK+AJ9R5VT5N9qILMNIwKkoREiSIdxzzACg5Vy0
<br>ojI09Q7Saf64fhw+qfCwZ7k=<br>=6szX<br>-----END PGP SIGNATURE-----<br></blockquote></div><br><br clear="all"><br>-- <br>madunix