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

David Baldwin david.baldwin at ausport.gov.au
Tue Sep 22 01:57:23 CEST 2009


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
>
>  
>
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 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
> <mailto: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/
>


-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au          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.
-------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090922/16c594c8/attachment.html>


More information about the Xymon mailing list