<a href="http://nagiosplugins.org/man/check_ping">http://nagiosplugins.org/man/check_ping</a> <div><br></div><div><host_address> = IP address. NOT hostname.</div><div><table border="1" cellspacing="0" cellpadding="5" style="font-family:verdana,arial,serif;background-color:rgb(255,255,255)">
<tbody><tr><td class="MacroName" style="font-family:verdana,arial,serif;font-size:8pt;font-weight:bold"><a name="hostaddress">$HOSTADDRESS$</a></td><td class="MacroDescription" style="font-family:verdana,arial,serif;font-size:7pt">
Address of the host. This value is taken from the <i>address</i> directive in the <a href="http://av01mon1/nagios/docs/objectdefinitions.html#host">host definition</a>.</td></tr></tbody></table><br><div class="gmail_quote">
On Thu, Jun 7, 2012 at 8:56 AM, Holger Weiß <span dir="ltr"><<a href="mailto:holger@cis.fu-berlin.de" target="_blank">holger@cis.fu-berlin.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Travis Runyard <<a href="mailto:travisrunyard@gmail.com">travisrunyard@gmail.com</a>> [2012-06-07 08:39]:<br>
<div class="im">> The check_ping Nagios plugin does not ping hostnames, only IP addresses.<br>
<br>
</div>The check_ping plugin supports hostnames just fine.<br>
<div class="im"><br>
> On Wed, Jun 6, 2012 at 11:54 PM, Cosmin Neagu <<a href="mailto:cosmin.neagu@omnilogic.ro">cosmin.neagu@omnilogic.ro</a>>wrote:<br>
</div><div class="im">> > Starting from yesterday, check_ping is behaving strange for a single host.<br>
> > When giving -H parameter as <a href="http://www.google.ro" target="_blank">www.google.ro</a> it gives CRITICAL - Network<br>
> > Unreachable<br>
> > But when giving -H parameter as IP address it is working. I have checked<br>
> > and there are no DNS issues<br>
<br>
</div>The hostname <a href="http://www.google.ro" target="_blank">www.google.ro</a> now¹ also resolves to an IPv6 address, and<br>
check_ping has issues with IPv6 dependending on the ping6(1)<br>
implementation used.  These issues will hopefully be fixed in the next<br>
release of the Nagios Plugins; until then, "check_ping -4 [...]" should<br>
do the trick.<br>
<br>
Holger<br>
<br>
¹ <a href="http://en.wikipedia.org/wiki/World_IPv6_Day_and_World_IPv6_Launch_Day" target="_blank">http://en.wikipedia.org/wiki/World_IPv6_Day_and_World_IPv6_Launch_Day</a><br>
<div class="HOEnZb"><div class="h5"><br>
------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br></div>