check_ping strange behavior with google

Travis Runyard travisrunyard at gmail.com
Thu Jun 7 18:56:28 CEST 2012


http://nagiosplugins.org/man/check_ping

<host_address> = IP address. NOT hostname.
$HOSTADDRESS$Address of the host. This value is taken from the
*address* directive
in the host definition<http://av01mon1/nagios/docs/objectdefinitions.html#host>
.
On Thu, Jun 7, 2012 at 8:56 AM, Holger Weiß <holger at cis.fu-berlin.de> wrote:

> * 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120607/5f82f008/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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