ping

ad at heapoverflow.com ad at heapoverflow.com
Wed Jan 2 13:29:41 CET 2008


-----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-----

-------------------------------------------------------------------------
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





More information about the Users mailing list