I get the following:
***** NetSaint 0.0.6 *****
Notification Type: PROBLEM
Service: PING
Host: la01.web
Address: 209.189.6.122
State: CRITICAL
Date/Time: Wed Oct 10 14:41:16 PDT 2001
Additional Info:
PING CRITICAL - Packet loss = 0%, RTA = 168.70 ms
Why is it critical with an ok latency and no packet
loss?
Thanks,
Matt
Logged In: NO
Similar problem on linux mandrake 8.1 : system report
critical status, or unknown and service information display
for example '/bin/ping -n -c 5 10.0.0.1 '
On linux mandrake 7.2, the same script work perfectly.
Logged In: NO
When using the /bin/ping from Red Hat Linux 7.2, the
check_ping command works fine.
We upgraded to Red Hat Linux 7.3, which apparently has a new
/bin/ping command (called /bin/ping.original below). The
stdout from each version of ping is different, as you can
see below. This causes the check_ping plugin to fail when
parsing the stdout.
Red Hat Linux 7.3 uses iputils-20020124-3.
Red Hat Linux 7.2 uses iputils-20001110-6.
Red Hat Linux 7.2 /bin/ping:
[root@jkclx plugins]# /bin/ping -n -c 5 <IPAddress>
PING <IPAddress> (<IPAddress>) from <IPAddress2> : 56(84)
bytes of data.
64 bytes from <IPAddress>: icmp_seq=0 ttl=254 time=3.001
msec
64 bytes from <IPAddress>: icmp_seq=1 ttl=254 time=4.061
msec
64 bytes from <IPAddress>: icmp_seq=2 ttl=254 time=5.293
msec
64 bytes from <IPAddress>: icmp_seq=3 ttl=254 time=3.654
msec
64 bytes from <IPAddress>: icmp_seq=4 ttl=254 time=2.131
msec
--- <IPAddress> ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/mdev = 2.131/3.628/5.293/1.057 ms
Red Hat Linux 7.3 /bin/ping:
[root@jkclx plugins]# /bin/ping.original -n -c 5 <IPAddress>
PING <IPAddress> (<IPAddress>) from <IPAddress2> : 56(84)
bytes of data.
64 bytes from <IPAddress>: icmp_seq=1 ttl=254 time=5.28 ms
64 bytes from <IPAddress>: icmp_seq=2 ttl=254 time=5.73 ms
64 bytes from <IPAddress>: icmp_seq=3 ttl=254 time=5.76 ms
64 bytes from <IPAddress>: icmp_seq=4 ttl=254 time=3.78 ms
64 bytes from <IPAddress>: icmp_seq=5 ttl=254 time=3.93 ms
--- <IPAddress> ping statistics ---
5 packets transmitted, 5 received, 0% loss, time 4044ms
rtt min/avg/max/mdev = 3.782/4.898/5.760/0.869 ms