[hobbit] Hobbit dependencies and/or route statement???

Greg Hubbard glh.forums at gmail.com
Mon Sep 21 19:11:22 CEST 2009


Well, the route tag can be used to encode the path between the BBNET host
and the target.  It only applies to network tests -- client tests are on
their own.

In your case, you are setting up the 116 switch to be the path between your
monitoring server and the other two switches.  So, if you disconnect 116,
117, and 118 at the same time you should see 116 go read, and the others
turn yellow.  Only 116 should alert.  In theory, that is.

However, you have all three switches on the same subnet which makes this a
bit hard to test.  It would be better if you could put a router in front of
them, or configure 116 to act like a router and then put 117 and 118 on
different subnets.

I do not use the DEPEND tag myself, so I do not know how it works.

GLH


On 9/21/09, d.tom.schmitt at l-3com.com <d.tom.schmitt at l-3com.com> wrote:
>
>  I have been trying to setup dependencies:
>
>
>
> I want to have only one alert from the 116 switch if all 3 go down –
> simulation of losing a router/link:
>
> I don’t want alerts from the 117 and 118 switches unless they go down
> independently.
>
>
>
> FIRST try using ‘depends’:
>
>
>
> I have three old Linksys switches setup on a smaller switch attached to the
> network.
>
> I created the following bb-hosts entries:
>
> 128.170.41.116  Linksys-116             # conn
>
> 128.170.41.117  Linksys-117             # depends=(conn:Linksys-116/conn)
>
> 128.170.41.118  Linksys-118             # depends=(conn:Linksys-116/conn)
>
>
>
> RESULT:   If I disconnect all switches, all turn RED and all alert
>
>                    If one goes down it shows RED and alerts
>
>
>
> SECOND try using ‘route’”
>
>
>
> 128.170.41.116  Linksys-116              # conn
>
> 128.170.41.117  Linksys-117              # route:128.170.41.116
>
> 128.170.41.118  Linksys-118              # route:128.170.41.116
>
>
>
> RESULT:  Same as depends, no difference
>
>
>
> These are the entries in the hobbit-alerts.cfg file:
>
> HOST=Linksys-116 SERVICE=conn REPEAT=4d RECOVERED
>
>                       MAIL D.Tom.Schmitt at L-3Com.com
>
> HOST=Linksys-117 SERVICE=conn REPEAT=4d RECOVERED
>
>                       MAIL D.Tom.Schmitt at L-3Com.com
>
> HOST=Linksys-118 SERVICE=conn REPEAT=4d RECOVERED
>
>                        MAIL D.Tom.Schmitt at L-3Com.com
>
>
>
> I must not be understanding how to make a dependency structure work?
>
>
>
> I am running XYMON 4.3.0-0.beta2.
>
>
>
> *Thanks,*
>
> * *
>
> *Tom Schmitt*
>
> *Senior IT Staff - R&D*
>
> Phone (801) *594-3030*
>



-- 
Disclaimer:  1) all opinions are my own, 2) I may be completely wrong, 3) my
advice is worth at least as much as what you are paying for it, or your
money cheerfully refunded.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090921/50774617/attachment.html>


More information about the Xymon mailing list