Long option and short option achieve the same thing, which requires an IP address. I have tried it out, on two separate nagios boxes, one running Debian, the other, Redhat. Why don't you copy and paste the results from shell to prove me wrong?<br>
<br><div class="gmail_quote">On Thu, Jun 7, 2012 at 12:26 PM, 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 09:56]:<br>
<div class="im">> <a href="http://nagiosplugins.org/man/check_ping" target="_blank">http://nagiosplugins.org/man/check_ping</a><br>
><br>
> <host_address> = IP address. NOT hostname.<br>
<br>
</div>Indeed, "host_address" seems to suggest an IP address.  Then again, the<br>
long option is called "--hostname" :-)  Anyway, you can specify either<br>
an IP address or a hostname.  Why don't you simply try it out?<br>
<br>
> $HOSTADDRESS$ - Address of the host. This value is taken from the<br>
> *address* directive in the host definition<br>
<br>
You neither have to hand over the $HOSTADDRESS$ to check_ping (you could<br>
use the $HOSTALIAS$ or whatever you like instead), nor do you have to<br>
specify an IP address as the "address" of a host.¹  We use only<br>
hostnames in our Nagios configuration.<br>
<br>
Holger<br>
<br>
¹ "Normally, this is an IP address, although it could really be anything<br>
  you want" -- <a href="http://nagios.sf.net/docs/3_0/objectdefinitions.html#host" target="_blank">http://nagios.sf.net/docs/3_0/objectdefinitions.html#host</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>