[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit dependencies and/or route statement???
- To: "hobbit (at) hswn.dk" <hobbit (at) hswn.dk>
- Subject: Re: [hobbit] Hobbit dependencies and/or route statement???
- From: David Baldwin <david.baldwin (at) ausport.gov.au>
- Date: Tue, 22 Sep 2009 09:57:23 +1000
- References: <2B2CEF0E4EE10B449E5D9BB95E6DA0E8FD116A (at) MAIL2.csw.l-3com.com>
- User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
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.
-------------------------------------------------------------------------------------