Xymon Mailing List Archive search

Hobbit dependencies and/or route statement???

list David Baldwin
Tue, 22 Sep 2009 09:57:23 +1000
Message-Id: <user-400d2c25482c@xymon.invalid>

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

 
Try:

128.170.41.116  Linksys-116              # conn

128.170.41.117  Linksys-117              # route:Linksys-116

128.170.41.118  Linksys-118              # route:Linksys-116


I have route: working fine for me in my network. You need to use the
host names not IP addresses.


David.

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 (801) /594-3030/
-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.