[Nagiosplug-devel] How do we report a possible bug (in check_ping)?

Eddie F bigedd at gmail.com
Fri Jun 20 15:20:38 CEST 2008


# /usr/local/nagios/libexec/check_ping -vvv -H nagios.org -w 300,10% -c
1000,50% -p 5 -t 60
CMD: /bin/ping -n -U -w 60 -c 5 nagios.org
Output: PING nagios.org (66.118.156.22) 56(84) bytes of data.
Output: 64 bytes from 66.118.156.22: icmp_seq=1 ttl=45 time=435 ms
Output: 64 bytes from 66.118.156.22: icmp_seq=2 ttl=45 time=395 ms
Output: 64 bytes from 66.118.156.22: icmp_seq=3 ttl=45 time=345 ms
Output: 64 bytes from 66.118.156.22: icmp_seq=4 ttl=45 time=435 ms
Output: 64 bytes from 66.118.156.22: icmp_seq=5 ttl=45 time=435 ms
Output:
Output: --- nagios.org ping statistics ---
Output: 5 packets transmitted, 5 received, 0% packet loss, time 4000ms
Output: rtt min/avg/max/mdev = 345.846/409.540/435.725/35.383 ms
PING WARNING - Packet loss = 0%, RTA = 409.54
ms|rta=409.540009ms;300.000000;1000.000000;0.000000 pl=0%;10;50;0
300.000000:10% 1000.000000:50%


Yes... That's better, but why is it that I don't have the problem with a
system ping to a domain name?
dig nagios.org returns -> Query time: 3 msec



On Fri, Jun 20, 2008 at 11:00 PM, Holger Weiss <holger at cis.fu-berlin.de>
wrote:

> * Eddie F <bigedd at gmail.com> [2008-06-20 22:53]:
> > Here it is with  "-vvv" ...
> >
> > # /usr/local/nagios/libexec/check_ping -vvv -H nagios.org -w 300,10% -c
> 1000,50% -p 5
> > CMD: /bin/ping -n -U -w 10 -c 5 nagios.org
> > Output: PING nagios.org (66.118.156.22) 56(84) bytes of data.
> > Output: 64 bytes from 66.118.156.22: icmp_seq=1 ttl=45 time=368 ms
> > CRITICAL - Plugin timed out after 10 seconds
>
> So it seems to work, apart from the fact that it runs into the timeout.
> Maybe ping(1)'s DNS resolution is very slow on your system for some
> reason?  Does it work if you increase the plugin timeout by using e.g.
> "check_ping -t 60 ..."?
>
> Holger
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________________
> Nagios Plugin Development Mailing List
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: 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/devel/attachments/20080620/8f82537e/attachment.html>


More information about the Devel mailing list