[Nagiosplug-help] compiling plugins-1.4 on RH9/Fedora Core

Matthew Wilson matthewwilson at dsl.pipex.com
Fri Mar 12 12:36:27 CET 2004


Greetings list,
I need to compile check_ping under Fedora Core and Redhat 9 to use the
-i and -s options in order to circumvent some restrictions on our
network.  So I do 
# ./configure --with-ping-command='/bin/ping -n -i 2 -s 20 -c %s %d'
# make all

which all appears to go fine.
The plugin will print it's arguments fine too.  But when I try to make
it ping I get a segmentation fault.  Here's my gdb output:


> (gdb) run -H 212.56.237.172 -w 1000,10%% -c 2000,20%%
> Starting program: /home/mw/nagios/nagios-plugins-1.4.0alpha1/plugins/check_ping -H 212.56.237.172 -w 1000,10%% -c 2000,20%%
>  
> Program received signal SIGSEGV, Segmentation fault.
> 0x0018801b in strlen () from /lib/tls/libc.so.6

Any suggestions would be greatly appreciated.

Matthew Wilson.





More information about the Help mailing list