Xymon Mailing List Archive search

Hobbit dependencies and/or route statement???

list Tom Schmitt
Mon, 21 Sep 2009 10:58:38 -0600
Message-Id: <user-29e3cabd8a3c@xymon.invalid>

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 user-9c1ae820b621@xymon.invalid

HOST=Linksys-117 SERVICE=conn REPEAT=4d RECOVERED

                      MAIL user-9c1ae820b621@xymon.invalid

HOST=Linksys-118 SERVICE=conn REPEAT=4d RECOVERED

                       MAIL user-9c1ae820b621@xymon.invalid

 
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 (XXX) XXX-XXXX