[Nagiosplug-help] check_ping segmentation fault
Andreas Ericsson
ae at op5.se
Wed Aug 10 12:16:20 CEST 2005
Rich Smith wrote:
> 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.
Use check_icmp instead. check_ping is obsolescent due to its many
problems and shortcomings.
> Rich
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
More information about the Help
mailing list