ping

Marc Powell marc at ena.com
Wed Jan 2 15:53:43 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Mad Unix
> Sent: Wednesday, January 02, 2008 6:14 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] ping
> 
> 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


Looks like your check_nrpe command on your nagios machine isn't properly
passing the command line arguments to NRPE on the remote machine. That
could be due to your check_nrpe command definition not being configured
properly, you didn't compile NRPE with command line arguments option
enabled or you haven't set dont_blame_nrpe in nrpe.cfg on the remote
machine.

--
Marc

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