"service IPs" versus "host IPs"

Spyou spyou at club-internet.fr
Tue Nov 2 11:32:24 CET 2004


At 19:26 01/11/2004, you wrote:
>Good afternoon,
>
>It is procedure at my place of work to distinguish between "host IPs" and
>"service IPs" for the majority of our network services.
>
>That is to say, host 'foo' may have a management IP 192.168.0.10 (its "host
>IP"), but the HTTP service on that host may listen on IP 192.168.1.20 (its
>"service IP").
>
>The reason for this is to make it easy to move a service from one host to
>another (by simply moving the IP address to another host).
>
>I can't find a way of configuring Nagios (1.2) to understand this way of
>distributing services. As far as I can tell, Nagios assumes that all services
>on a host will listen on the same IP address.

Yes, that's the way nagios works.

you may want to create children hosts for each virtual IP of a particular 
box and associate services to this child.

This way, you can move service from a child to another (or simply change 
the IP of the child if all services on this IP are moving).

If the host goes down, all hosts after are mentioned as "unreachable" and 
since you don't ask for notify of unreachability on these child host, you 
only get a "down" notification for the parent host (the real one, in fact) 



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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