ping
Mad Unix
madunix at gmail.com
Wed Jan 2 13:52:01 CET 2008
it gave now
check_ping: Invalid hostname/address - $
other commands work, only the ping it gave eror
i changed the ping the client to
command[check_local_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c
$ARG2$ -p $ARG3$
command[check_local_users]=/usr/local/nagios/libexec/check_users -w $ARG1$
-c $ARG2$
command[check_local_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c
$ARG2$
command[check_local_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$
-c $ARG2$
#command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w
$ARG2$ -c $ARG3$ -p 5
command[check_ping]=/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w
$ARG1$ -c $ARG2$ -p 5
On Jan 2, 2008 2:29 PM, ad at heapoverflow.com <ad at heapoverflow.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> not sure but I think your check_ping command has an error, try
> changing it to
>
> //edit(based on your cfg):
>
> command[check_ping]=/usr/local/nagios/libexec/check_ping -H
> $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5
>
>
> Mad Unix wrote:
> > my nagios shows the following
> >
> > check_ping: %s: Warning threshold must be integer or percentage!
> > on the server
> > define service{
> > use generic-service ;
> > Name of service template to use
> > host_name linux1
> > service_description PING
> > is_volatile 0
> > check_period 24x7
> > max_check_attempts 4
> > normal_check_interval 5
> > retry_check_interval 1
> > contact_groups admins
> > notification_options w,u,c,r
> > notification_interval 960
> > notification_period 24x7
> > check_command
> > check_nrpe!check_ping!100.0,20%!500.0,60%
> > }
> > on the client runnig nrpe
> >
> > command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$
> > -w $ARG2$ -c $ARG3$ -p 5
> >
> > --
> > madunix
> >
> > ----------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >
> > ----------------------------------------------------------------------
> >
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
>
> iD8DBQFHe4O1dS4H/t4eKFARAtK+AJ9R5VT5N9qILMNIwKkoREiSIdxzzACg5Vy0
> ojI09Q7Saf64fhw+qfCwZ7k=
> =6szX
> -----END PGP SIGNATURE-----
>
--
madunix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080102/3d355550/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list