Check_Ping Problem for multiple addresses for a host

Marc Powell marc at ena.com
Fri Apr 23 15:46:20 CEST 2004


Barbara Böhm <mailto:barbara.boehm at net-man.at> wrote:
> I have a server who has multiple IP-Addresses in the Nagios FAQ is
> described, that you only have to seperate them in the host.cfg  by
> putting a  << , >> komma between those two Ip addresses! but that
> doesn't work anyway!  
> if I  try to view the host details, the server wich is specified to
> two addresses is down but if you ping it manually its up! 
> and thats a very big problem for us, because we have some  servers
> with multiple ip addresses specified 
> 
> 
> check_ping: Invalid host name/address - 10.1.1.X,10.1.1.X
> 
> 
> my host.cfg:
> 
> 
> define host {
> 		use		Server
> 
> 		host_name	XXX
> 		alias			XXX-Server
> 		address		10.1.1.X,10.1.1.X
> 		}
> 
> and now if i only specify one address the server always seems to be up

You should search the list archives but multiple IP support for check_ping is a new thing and only supported by plugins 1.4.0alpha1 I believe. Nagios just passes whatever is specified to the plugin. It's up to the plugin to know how to interpret host_name properly.

--
Marc


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
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