I've not personally used the badTEST stuff, so I'm not sure which of
these you need:
depends=(badconn:switch-1/badconn)
depends=(conn:switch-1/conn)
I use route for this kind of thing, though I suppose either should work.
x.x.x.x switch-1 # badconn:1:1:5
x.x.x.x ups-1 # badconn:1:1:5 route:switch-1
In this case when switch-1 goes down the conn test for ups-1 would show
yellow, and clicking through to it would say something like:
--
Mon Sep 10 08:30:56 2007 conn NOT ok : Intermediate router down
Service conn on ups-1 is not OK.
The router switch-1 (IP:x.x.x.x) is not reachable, causing this host to
be unreachable.
--
Cheers.
-----Original Message-----
From: Joshua Krause [mailto:user-f8009a939286@xymon.invalid]
Sent: Sunday, September 09, 2007 9:50 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbit hierachy
So in my hosts file i have put a line on one of my hosts hanging off
of my switch:
x.x.x.x switch-1 # badconn:1:1:5
x.x.x.x ups-1 # badconn:1:1:5
depends=(badconn:switch-1/badconn)
So if how i have it set up in the hosts file if the switch goes down
then it should only page out when the switch goes down and i should
not see anything from the ups. Is that correct?
thanks
josh
On Sep 7, 2007, at 11:10 AM, Dugan, Darin D [EIT] wrote:
Sounds like you want to look at the 'route' or 'depends' tag for
bb-hosts. Check the bb-hosts man page.
Cheers.
D
-----Original Message-----
From: Joshua Krause [mailto:user-f8009a939286@xymon.invalid]
Sent: Thursday, September 06, 2007 7:36 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit hierachy
Does hobbit work off of a parent/child relationship with hosts?
Say i
have a router at a site and 20 or so devices off of that router.
If
the router goes down will i get a page from all 20 something
devices
or can i set it up to where if that happens that i only get a page
from the router. By the way Henrik, great job on bbgen/bb
integration
with Hobbit. This is fairly easy to setup and comes with alot of
pre-
packaged things that is really nice. Great Job!!!!!
Josh