[Nagiosplug-help] check_ping segmentation fault
Rich Smith
rich at post.queensu.ca
Wed Aug 10 08:32:00 CEST 2005
Hi All:
I'm using Nagios 2.0.b4 on a Sun Solaris 9 box.
I've got Apache, Nagios and the nagios-plugins-1.4.1 installed.
I'm having issues with check_ping giving me "Return code of 139 is out
of bounds" in the Nagios web frontend. If I attempt from the command
line I also get a Segmentation Fault.
In cgi.cfg I've got:
ping_syntax=/usr/sbin/ping -a -s $HOSTADDRESS$ 56 5
which gives me:
bash-2.05$ /usr/sbin/ping -a -s 127.0.0.1 56 5
PING 127.0.0.1: 56 data bytes
64 bytes from localhost (127.0.0.1): icmp_seq=0. time=0. ms
64 bytes from localhost (127.0.0.1): icmp_seq=1. time=0. ms
64 bytes from localhost (127.0.0.1): icmp_seq=2. time=0. ms
64 bytes from localhost (127.0.0.1): icmp_seq=3. time=0. ms
64 bytes from localhost (127.0.0.1): icmp_seq=4. time=0. ms
----127.0.0.1 PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
When I use check_ping at the command line I get:
bash-2.05$ ./check_ping -H 127.0.0.1 -w 2,50% -c 3,100%
Segmentation Fault
Any ideas would be appreciated.
Rich
More information about the Help
mailing list