Feature request: Dependices
list Craig Cook
Attachments (1)
list Daniel J McDonald
On Fri, 2005-06-24 at 08:07 -0500, Craig Cook wrote:
Idea taken blatantly from nagios: http://nagios.sourceforge.net/docs/2_0/dependencies.html This is slightly different to the bbcombotest hobbit currently has.
But is it different from the depends tag?
from man bb-hosts...
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.
--
Daniel J McDonald, CCIE # 2495, CNX
Austin Energy
user-290ce4e24e19@xymon.invalid
list Tom Kauffman
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:user-618593604956@xymon.invalid] Sent: Friday, June 24, 2005 8:07 AM To: user-ae9b8668bcde@xymon.invalid 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
list Michael Lowery
It would be nice if you could do this globally for all tests. Maybe you can and I am not understanding where to do that? Michael
▸
-----Original Message----- From: Kauffman, Tom [mailto:user-3feba9e60a8b@xymon.invalid] Sent: Friday, June 24, 2005 9:03 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Feature request: Dependices 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:user-618593604956@xymon.invalid] Sent: Friday, June 24, 2005 8:07 AM To: user-ae9b8668bcde@xymon.invalid 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
list Craig Cook
Attachments (1)
list Tom Kauffman
Well, it's probably time for me to do one of these -- I'd really like it if there was an implicit (or explicit cabability for) ALL tests on a host to depend on connectivity. No connectivity, no purples. Hmm. Better look at the current version myself! Tom
▸
-----Original Message-----
From: Craig Cook [mailto:user-618593604956@xymon.invalid]
Sent: Friday, June 24, 2005 9:35 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Feature request: Dependices
Doh! That's what I get for not running the latest version! I had better upgrade soon ;) Thanks Craig Cook -- Systems Monitoring Consulting and Support Services http://www.cookitservices.com
list Larry Barber
I believe it already does that implicitly. At least on my setup when "conn" is lost everything else (except info and trends) goes clear. I don't think I did anything special to cause this. Thanks, Larry Barber
▸
On Fri, 2005-06-24 at 10:17 -0500, user-3feba9e60a8b@xymon.invalid wrote:Well, it's probably time for me to do one of these -- I'd really like it if there was an implicit (or explicit cabability for) ALL tests on a host to depend on connectivity. No connectivity, no purples. Hmm. Better look at the current version myself! Tom -----Original Message----- From: Craig Cook [mailto:user-618593604956@xymon.invalid] Sent: Friday, June 24, 2005 9:35 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Feature request: Dependices Doh! That's what I get for not running the latest version! I had better upgrade soon ;) Thanks Craig Cook -- Systems Monitoring Consulting and Support Services http://www.cookitservices.com