host-check on multi interface server

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Mon Feb 24 19:32:53 CET 2003


One possible option is to *not* put the IP address into the hosts.cfg.

Instead, make sure your DNS is up-to-date, with the necessary multiple A
record definitions.

The only disadvantage is that you won't be notified if one of the explicit
IP addresses goes down.  However, you could still define the explicit host
entries, and create a trivial service check for each which also uses
check_ping.

Redundant, but at least you'd have a clear handle on things.

jc


> -----Original Message-----
> From: Markus Schencker [mailto:markus.schencker at schencker.de]
> Sent: Monday, February 24, 2003 11:42 AM
> To: Rasmus Plewe
> Cc: Nagios users list
> Subject: [Nagios-users] Re: host-check on multi interface server
> 
> 
> On Mon, Feb 24, 2003 at 15:37:55AM +0100, Rasmus Plewe wrote:
> 
> >> * Specify one IP address for host check, specify service 
> checks for all 
> >> interfaces and create service dependencies for the other 
> service checks
> >
> > What service checks are you thinking about? 
> 
> 
> Example: server1 with the following interfaces:
> 172.19.0.1, 172.20.0.1, 172.21.0.1
> 
> define host server1 with IP address 172.19.0.1
> 
> define service ping1 on host server1 with IP address 172.19.0.1
> define service ping2 on host server1 with IP address 172.20.0.1
> define service ping3 on host server1 with IP address 172.21.0.1
> 
> define service disk1 on host server1 depends on ping1,ping2,ping3
> ...
> 
> If one of the ping tests fails the depending tests won't be executed.
> 
> 
> > 
> >> Which one is to prefer or is there another preferable solution
> > 
> > I defined the interfaces as hosts (with a check_ping as service) and
> > defined the server as parent. I believe this solution is fairly
> > common.
> > 
> 
> What is the advantage of your method? You define a logical 
> grouping of the 
> interfaces. Which interface do you define as the parent 
> server? Where do you 
> put your services (to the parent server host or to the 
> interfaces)? What is 
> the result if one of the "interface" hosts will fail?
> 
> 
> 
> Markus
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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