check_ping strange behavior with google

Travis Runyard travisrunyard at gmail.com
Thu Jun 7 21:47:37 CEST 2012


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?

On Thu, Jun 7, 2012 at 12:26 PM, Holger Weiß <holger at cis.fu-berlin.de>wrote:

> * Travis Runyard <travisrunyard at gmail.com> [2012-06-07 09:56]:
> > http://nagiosplugins.org/man/check_ping
> >
> > <host_address> = IP address. NOT hostname.
>
> Indeed, "host_address" seems to suggest an IP address.  Then again, the
> long option is called "--hostname" :-)  Anyway, you can specify either
> an IP address or a hostname.  Why don't you simply try it out?
>
> > $HOSTADDRESS$ - Address of the host. This value is taken from the
> > *address* directive in the host definition
>
> You neither have to hand over the $HOSTADDRESS$ to check_ping (you could
> use the $HOSTALIAS$ or whatever you like instead), nor do you have to
> specify an IP address as the "address" of a host.¹  We use only
> hostnames in our Nagios configuration.
>
> Holger
>
> ¹ "Normally, this is an IP address, although it could really be anything
>  you want" -- http://nagios.sf.net/docs/3_0/objectdefinitions.html#host
>
>
> ------------------------------------------------------------------------------
> 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/ddb7f27f/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