check_ping strange behavior with google

Holger Weiß holger at CIS.FU-Berlin.DE
Thu Jun 7 17:56:36 CEST 2012


* Travis Runyard <travisrunyard at gmail.com> [2012-06-07 08:39]:
> The check_ping Nagios plugin does not ping hostnames, only IP addresses.

The check_ping plugin supports hostnames just fine.

> On Wed, Jun 6, 2012 at 11:54 PM, Cosmin Neagu <cosmin.neagu at omnilogic.ro>wrote:
> > Starting from yesterday, check_ping is behaving strange for a single host.
> > When giving -H parameter as www.google.ro it gives CRITICAL - Network
> > Unreachable
> > But when giving -H parameter as IP address it is working. I have checked
> > and there are no DNS issues

The hostname www.google.ro now¹ also resolves to an IPv6 address, and
check_ping has issues with IPv6 dependending on the ping6(1)
implementation used.  These issues will hopefully be fixed in the next
release of the Nagios Plugins; until then, "check_ping -4 [...]" should
do the trick.

Holger

¹ http://en.wikipedia.org/wiki/World_IPv6_Day_and_World_IPv6_Launch_Day

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list