Hobbit dependencies and/or route statement???
list Tom Schmitt
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
list Greg Hubbard
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, user-9c1ae820b621@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
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*
-- 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.
list David Baldwin
▸
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.