[Nagiosplug-help] plugins ./configure hangs

Thomas Bolioli tpblists at terranovum.com
Tue Feb 22 14:20:05 CET 2005

OK, I have discovered the root cause of the problems with the ping 
syntax check (located at or about line 14337) in the configure script. 
The test pings loopback with a series of different accepted syntax 
strings, looking for one that returns true on "^round-trip|^rtt". The 
kicker here was that my machines do not respond to ping but multiple 
forms of the syntax were ultimately acceptable, there was just 100% 
packet loss so no rtt information was available to display. So I changed 
this to be www.yahoo.com and it went through just fine. Either the 
configure script needs to not care about the success of the ping packets 
and just look for something that returns bad syntax (not safe/accurate 
enough) of ping a host that is known to respond. www.yahoo.com still 
responds but someone could set up www.nagios.org to respond and use that 
instead of the lookback.

[root at nova downloads]# ping  -n -c 1 
PING ( 56(84) bytes of data.

--- ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

[root at nova downloads]# ping  -n -c 1 www.terranovum.com
PING nova.terranovum.com ( 56(84) bytes of data.

--- nova.terranovum.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

[root at nova downloads]# ping  -n -c 1 www.yahoo.com    
PING www.yahoo.akadns.net ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=56 time=11.8 ms

--- www.yahoo.akadns.net ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 11.866/11.866/11.866/0.000 ms

Tom Loebach wrote:

>    Are you trying to build this on cygwin? The
>configure script will hang if you installed the cygwin
>ping package. Let me know if this is the case and I
>can  help you with a lot more detail. If you are
>building on a different platform, you will need to
>edit the configure script to bypass the ping statement
>that hangs the script for your platform.
>--- Thomas Bolioli <tpblists at terranovum.com> wrote:
>>The configure script for the plugins (1.4) hangs at
>>the last line there for
>>ping syntax. Anyone know why?
>>Also, I have stock 1.02 config files (I edited the
>>sample ones) I would 
>>like to use. Can I use them with 2.0b with little
>>issue or should I 
>>start from scratch?
>>checking for strtol... yes
>>checking for strtoul... yes
>>checking return type of socket size... int
>>checking for ps... /bin/ps
>>checking for ps syntax... /bin/ps -axwo 'stat uid
>>ppid vsz rss pcpu comm
>>checking for ping... /bin/ping
>>checking for ping6... /usr/bin/ping6
>>checking for ICMP ping syntax...
>>ATTACHMENT part 2 application/x-pkcs7-signature
>Do you Yahoo!? 
>Yahoo! Mail - You care about security. So do we. 
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>Nagiosplug-help mailing list
>Nagiosplug-help at lists.sourceforge.net
>::: Please include plugins version (-v) and OS when reporting any issue. 
>::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20050222/01285c2c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3194 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20050222/01285c2c/attachment.bin>

More information about the Help mailing list