Service as parent of a host?

Andreas Ericsson ae at op5.se
Thu Jun 9 18:52:08 CEST 2005



David Gaston Rodriguez wrote:
> Hi list:
> How I can set the parent of "HOST B" to be a service of "HOST A"??
> I have a network map as this:
> 
> |------|
> |NAGIOS| --->  HOST A         HOST B
> |------|      ________       ________
>               | HTTP |       | HTTP |
>               | POP  |       | POP  |
>               | VPN  |-----> | STMP |
>               | SMTP |       | .... |
>               |______|       |______|
> 
> I want that "HOST B" appears in state UNREACHEABLE when service VPN of
> host "HOST A" is in state CRITICAL.
> I can do something like this?
> 

The simple way;

Add HOST C which has the VPN check as its only service, and also as its 
host check_command. Make HOST B the child of HOST C. When VPN goes down, 
B goes unreachable.

If possible, check the VPN IP of HOST A as the address of HOST C.

> 
> PD: Sorry for my english.
> 
> DGR
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.  
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
> _______________________________________________
> 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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
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