Nagios Host Dependencie

Patrick Morris patrick.morris at hp.com
Fri Jun 8 20:23:09 CEST 2007


On Fri, 08 Jun 2007, Fernando A Ben wrote:

> Hello
> I configure two host on my nagios config.
> HOST A
> HOST B
> 
> define hostdependency{
> 	host_name			Host A
> 	dependent_host_name	Host B
> 	notification_failure_criteria	d,u
> 	}
> 
> I Need that when HOST B is mark down, Nagios sent notification:
> Warning HOST A Dependend of HOST B, but HOST B is Down.
> 
> 
> Is Posible?

I'm not 100% surte I'm understanding what you want, but if I am, there
are easier ways to handle it (and, in any case, you have your
dependencies backwards).

If you make host B a parent of Host B, and enable Unreachable
notifications, you'll receive a "Host Unreachable" notification for host
A if Host B goes down.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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