[hobbit] Feature request: Dependices

Kauffman, Tom KauffmanT at nibco.com
Fri Jun 24 16:03:00 CEST 2005


Henrik is ahead of you, Craig -- check out the 'depends' tag:

depends=(testA:host1/test1,host2/test2),(testB:host3/test3),[...]
This tag allows you to define dependencies betweeen tests. If "testA"
for the current host depends on "test1" for host "host1" and test
"test2" for "host2", this can be defined with
depends=(testA:host1/test1,host2/test2)

When deciding the color to report for testA, if either host1/test1
failed or host2/test2 failed, if testA has failed also then the color of
testA will be "clear" instead of red or yellow. 

Tom Kauffman
NIBCO, Inc

-----Original Message-----
From: Craig Cook [mailto:craig at cookitservices.com] 
Sent: Friday, June 24, 2005 8:07 AM
To: hobbit at hswn.dk
Subject: [hobbit] Feature request: Dependices

Idea taken blatantly from nagios:
http://nagios.sourceforge.net/docs/2_0/dependencies.html

This is slightly different to the bbcombotest hobbit currently has.

It would stop the "christmas tree" effect when a core router/switch
fails.  Your whole monitoring system would not light up.

define host-service-dependency{
child_host_name		server1
child_service    	conn
parent_host_name	router1
parent_service          conn
inherits_parent         true
}

define host-service-dependency{
child_host_name		server2
child_service    	conn
parent_host_name	server1
parent_service          conn
inherits_parent         true
}

So, in this example, if router1 fails, server1 and server2 change to an
"unknown" (maybe clear?) state for the conn test rather than going red
and sending alerts.


Craig Cook
--
Systems Monitoring Consulting and Support Services
http://www.cookitservices.com

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list