Hi all,<br><br>How/where do I report bugs for a Nagios plugin (check_ping)?<br> And just as importantly, how/where do I check to see if it is something that has already been reported?<br><br> I think I might have found a bug in check_ping when a a domain name is entered for host_address rather than the IP address.<br>
I've found that using the domain name seems to work fine with some other check commands (FTP, HTTP and SSH).<br>Also: System pings work fine too...<br><font color="#000099" face="courier new,monospace"># /bin/ping -n -U -w 10 -c 5 <a href="http://nagios.org">nagios.org</a><br>
PING <a href="http://nagios.org">nagios.org</a> (<a href="http://66.118.156.22">66.118.156.22</a>) 56(84) bytes of data.<br>64 bytes from <a href="http://66.118.156.22">66.118.156.22</a>: icmp_seq=1 ttl=45 time=431 ms<br>
64 bytes from <a href="http://66.118.156.22">66.118.156.22</a>: icmp_seq=2 ttl=45 time=461 ms<br>64 bytes from <a href="http://66.118.156.22">66.118.156.22</a>: icmp_seq=3 ttl=45 time=451 ms<br>64 bytes from <a href="http://66.118.156.22">66.118.156.22</a>: icmp_seq=4 ttl=45 time=441 ms<br>
64 bytes from <a href="http://66.118.156.22">66.118.156.22</a>: icmp_seq=5 ttl=45 time=452 ms<br>--- <a href="http://nagios.org">nagios.org</a> ping statistics ---<br>5 packets transmitted, 5 received, 0% packet loss, time 3999ms<br>
rtt min/avg/max/mdev = 431.271/447.571/461.284/10.243 ms</font><br><br><br>See the two examples below, running check_ping on our system. Firstly using the domain name, then using IP address...<br><font color="#000099" face="courier new,monospace"># /usr/local/nagios/libexec/check_ping -H <a href="http://nagios.org">nagios.org</a> -w 300,10% -c 1000,50% -p 5<br>
CRITICAL - Plugin timed out after 10 seconds</font><br><br><font color="#000099" face="courier new,monospace"># /usr/local/nagios/libexec/check_ping -H <a href="http://66.118.156.22">66.118.156.22</a> -w 300,10% -c 1000,50% -p 5<br>
PING WARNING - Packet loss = 0%, RTA = 709.87<br>ms|rta=709.869019ms;300.000000;1000.000000;0.000000 pl=0%;10;50;0</font><br><br><br>I've tried this with many hosts (one on the same sub-net), and the result have always been the same<br>
<br>Thanks,<br>Eddie<br><br>