[Nagiosplug-help] compiling plugins-1.4 on RH9/Fedora Core
Karl DeBisschop
karl at debisschop.net
Sat Mar 13 05:14:10 CET 2004
On Fri, 12 Mar 2004 20:18:44 +0000
Matthew Wilson <matthewwilson at dsl.pipex.com> wrote:
> 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
1) please provide exact version number for plugin (--version option)
2) My guess is that ac_cv_ping_packets_first is not getting set in
configure. I think that's a bug in configure - I see no way to specify
it. You should be able to edit config.h to include the line
#define PING_PACKETS_FIRST 1
(If that line is already there, then my guess is wrong)
--
Karl
More information about the Help
mailing list