[Nagiosplug-devel] check_ping resolving error

Andreas Ericsson ae at op5.se
Wed Dec 10 10:33:42 CET 2008

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

More information about the Devel mailing list