check_ping... not working

bvierra at rapidgrid.com bvierra at rapidgrid.com
Thu Feb 20 04:26:28 CET 2003


not sure if this is the correct place and if it isnt please no flames just 
point me to the right place :)

I am using the check_ping from command is fine, but for some reason when I do 
it through service I get this response "/bin/ping -n -U -c 1 207.44.152.1" and 
it shows up as down, but it is responding to ping.
Here is what I have in services.cfg:
define service{
        use                     cpanel-generic
        host_name               rs-router1
        service_description     PING
        check_command           check_ping!100.0,20%!500.0,60%
}

When I run it from the command prompt I get this:
root at server1 [/usr/local/nagios/libexec]# ./check_ping -H XXX.XXX.XXX.XXX -w 
100.0,20% -c 500.0,60%
PING OK - Packet loss = 0%, RTA = 0.36 ms


so I am at a loss.



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
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