Powered By IdeaScale
Login / Signup
Nagios Open Innovation Network
« Back To Nagios Open Innovation Network
Better support for multihomed hosts / more than one address entry
Currently only one address is supported for host entries. But a lot of modern servers has more than one network interface (bonding, teaming, failover etc.) On some operating systems like Linux a failover configuration has only one IP-address. On other systems (Windows, Solaris) you have one address per interface and a virtual one added as an alias to the physical interface.

Additonal we have hosts with interfaces in several networks.But it is one host. So it should be only one configuration.
Idea # 75Nagios "Core"
Comments
marc 8 months ago
Nagios itself already supports multiple host addresses. The 'address' parameter ($HOSTADDRESS$) is just a string of text passed around. It could easily be '1.1.1.1, 2.2.2.2, 3.3.3.3'

The problem is that few, if any, plugins actually know how to handle multiple addresses. Either some standard convention needs would need to be decided upon and enacted within the plugins or nagios needs to do something more intelligent with those values, such as expanding them to multiple host{} definitions and corresponding service{} definitions so that the plugins continue to see only one address...
Martin Fuerstenau 8 months ago
Sure - but that is NOT what I meant. I meant something like address1, address2... addressn instaed of address in host configuration object. The result would be multiple macros for $HOSTADDRESS$ i.e $HOSTADDRESS1$, $HOSTADDRESS2$ etc.

Together with my idea regarding multiple names for the same host (host_alias) you should easily handle hosts with

- more than one interface
- more than one name
Activity Chart
Controversy Meter
Idea Rank : 21
Share
RSS 
  • Users Tracking (1)