Thanks everyone for the comments. No more top posting!<br><br><div class="gmail_quote">On Wed, Dec 10, 2008 at 1:52 PM, Holger Weiss <span dir="ltr"><<a href="mailto:holger@cis.fu-berlin.de">holger@cis.fu-berlin.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
</div>If you add "-vvv" to the check_ping command line arguments, check_ping<br>
will spit out the exact ping(1) command line it's executing.  Does that<br>
ping(1) command line work if you execute it manually?  If so, could you<br>
post the complete "check_ping -vvv" output?</blockquote><div><br><i>[root@machine libexec]# ./check_ping -H domain.tld -w 3000.0,80% -c 5000.0,100% -p 5 -vvv<br>CMD: /bin/ping6 -n -U -w 30 -c 5 domain.tld<br>Output: PING domain.tld(::ffff:xx.xx.xxx.12) 56 data bytes<br>
Output: <br>Output: --- domain.tld ping statistics ---<br>Output: 30 packets transmitted, 0 received, 100% packet loss, time 29010ms<br>Output: <br>Got stderr: ping: sendmsg: Network is unreachable<br>CRITICAL - Network Unreachable (domain.tld)</i><br>
<br>This is interesting. It's running /bin/ping6 instead of /bin/ping. Here is the output of the same command using /bin/ping instead:<br><i>[root@machine libexec]# /bin/ping -n -U -w 30 -c 5 domain.tld<br>PING domain.tld (xx.xx.xxx.12) 56(84) bytes of data.<br>
64 bytes from xx.xx.xxx.12: icmp_seq=1 ttl=54 time=56.2 ms<br>64 bytes from xx.xx.xxx.12: icmp_seq=2 ttl=54 time=57.2 ms<br>64 bytes from xx.xx.xxx.12: icmp_seq=3 ttl=54 time=56.1 ms<br>64 bytes from xx.xx.xxx.12: icmp_seq=4 ttl=54 time=57.1 ms<br>
64 bytes from xx.xx.xxx.12: icmp_seq=5 ttl=54 time=56.8 ms<br><br>--- domain.tld ping statistics ---<br>5 packets transmitted, 5 received, 0% packet loss, time 4001ms<br>rtt min/avg/max/mdev = 56.188/56.736/57.226/0.528 ms</i><br>
<br>I've checked another domain and it checks it with /bin/ping. So apparently the problem is that it thinks it should check it with /bin/ping6. Question is, why? I haven't checked the sources. I'm gonna look into them meanwhile.<br>
<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">> I've tried check_icmp and it reports no errors:<br>
<br>
</div>I'd prefer check_icmp over check_ping anyway :-)  However, I'd be<br>
interested in the reason for your check_ping issue.<br></blockquote></div><br>Maybe I should use that instead. However, I'm interested at the same thing as you at this point :)<br>