[Nagiosplug-devel] check_ping resolving error

Yaron Meiry yaronm at teleweb.co.il
Wed Dec 10 12:05:10 CET 2008


Thank you for the quick reply.

I've noted in the email the result for ping. Ping has no problems. Here is
some ping output again:
*[root at machine libexec]# ping -c 3 domain.tld
PING domain.tld (xx.xx.xxx.12) 56(84) bytes of data.
64 bytes from ptr.hostingcompany.com (xx.xx.xxx.12): icmp_seq=1 ttl=54
time=57.0 ms
64 bytes from ptr.hostingcompany.com (xx.xx.xxx.12): icmp_seq=2 ttl=54
time=56.4 ms
64 bytes from ptr.hostingcompany.com (xx.xx.xxx.12): icmp_seq=3 ttl=54
time=57.2 ms

--- domain.tld ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 56.491/56.925/57.201/0.310 ms*

I've tried check_icmp and it reports no errors:
*[root at machine libexec]# ./check_icmp domain.tld
OK - domain.tld: rta 56.467ms, lost 0%|rta=56.467ms;200.000;500.000;0;
pl=0%;40;80;; *

Also, I've ran a tracepath from the Nagios machine to domain.tld and it had
no problems along the way. The end output was:
*Resume: pmtu 1500 hops 14 back 11*

On Wed, Dec 10, 2008 at 11:33 AM, Andreas Ericsson <ae at op5.se> wrote:

> Andreas Ericsson wrote:
> > Yaron Meiry wrote:
> >> Hey
> >>
> >> I'm using the Nagios check_ping utility version v1810 (nagios-plugins
> >> 1.4.11) and I think I have a DNS resolution problem.
> >> check_ping can't resolve a host correctly and reports a network problem.
> >> This is the default command line:
> >> *[root at machine libexec]# ./check_ping -H domain.tld -w 3000.0,80% -c
> >> 5000.0,100% -p 5
> >> CRITICAL - Network Unreachable (domain.tld)
> >
> > You're getting ICMP_UNREACH when sending icmp packets to domain.tld.
> > That means there's no route from the network your nagios server sits
> > on to the network the domain.tld server sits on. Try running
> >
> >   ping domain.tld
> >
> > from the command line and you should see the same error message.
> >
>
> Additionally, if you try using check_icmp instead, it will also tell
> you which of the routers along the way is sending the ICMP_UNREACH
> message, so you'll know which router you need to reconfigure to get
> it to work. HTH
>
> --
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
>
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________________
> 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: <http://nagios-plugins.org/archive/devel/attachments/20081210/cc442085/attachment.html>


More information about the Devel mailing list