Xymon Mailing List Archive search

hobbit hierachy

4 messages in this thread

list Joshua Krause · Thu, 6 Sep 2007 20:35:36 -0400 ·
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
list Darin D [eit] Dugan · Fri, 7 Sep 2007 10:10:27 -0500 ·
Sounds like you want to look at the 'route' or 'depends' tag for
bb-hosts. Check the bb-hosts man page.

Cheers.
D
quoted from Joshua Krause
-----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
list Joshua Krause · Sun, 9 Sep 2007 22:49:44 -0400 ·
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
quoted from Darin D [eit] Dugan


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
list Darin D [eit] Dugan · Mon, 10 Sep 2007 09:05:44 -0500 ·
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.
quoted from Joshua Krause

-----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