[Nagiosplug-help] check_ping segmentation fault

Ralph.Grothe at itdz-berlin.de Ralph.Grothe at itdz-berlin.de
Fri Aug 12 01:12:06 CEST 2005


Hi Rich,

I don't know how Solaris 9 is treating a SIGSEGV.
At least on HP-UX it is dumping a core file (provided no ulimit
-c prevented this)
So if you are adventurous you can try to trace the cause 
with a debugger.

However, I would suggest you used check_icmp instead of
check_ping.

For firewalled hosts where ICMP packets are dropped by a filter
en route
you could switch to check_tcp using port 22 (if that is allowed
to pass).


> -----Original Message-----
> From: nagiosplug-help-admin at lists.sourceforge.net
> [mailto:nagiosplug-help-admin at lists.sourceforge.net]On Behalf
Of Rich
> Smith
> Sent: Wednesday, August 10, 2005 5:30 PM
> To: nagiosplug-help at lists.sourceforge.net
> Subject: [Nagiosplug-help] check_ping segmentation fault
> 
> 
> 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
> 
> 
> 
> -------------------------------------------------------
> 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




More information about the Help mailing list