[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hobbit-alert.cfg; PAGE filter with same host on multiple subpages?
- To: <hobbit (at) hswn.dk>
- Subject: hobbit-alert.cfg; PAGE filter with same host on multiple subpages?
- From: <jorgen.lindqvist (at) vattenfall.com>
- Date: Wed, 21 Mar 2007 10:01:37 +0100
- Dkim-signature: a=rsa-sha1; c=nowsp/nowsp; d=vattenfall.com; s=dkim; t=1174467697; h=X-DomainKeys:DomainKey-Signature:Received:Received: X-MimeOLE:Content-class:MIME-Version:Content-Type: Content-Transfer-Encoding:Subject:Date:Message-ID:X-MS-Has-Attach: X-MS-TNEF-Correlator:Thread-Topic:Thread-Index:From:To: X-OriginalArrivalTime:X-Virus-Scanned:X-Virus-Status; b=jTs1dXeE2D eU4jtSK7mTnuq/txISMiiRHmarLu5u+sFGwVAz3w2odpuUUirbKM7MwSM5fIan7Hwmx aY4aAKlWcBL5p5IGICe2pZQYXXyLTGKeUaIFooItQoR7GuDjH7pdR5mrq4IHn7yokaB U0PhrS62hboVrpVHL5gr8G+hWew=
- Domainkey-signature: a=rsa-sha1; s=default; d=vattenfall.com; c=nofws; q=dns; h=received:x-mimeole:content-class:mime-version: content-type:content-transfer-encoding:subject:date:message-id: x-ms-has-attach:x-ms-tnef-correlator:thread-topic:thread-index:from:to: x-originalarrivaltime:x-virus-scanned:x-virus-status; b=CrqI7/ytWciZqqjIuhAex/T/JfDKx+f1VdqaSpYPFvAz6uMgtNvZsmV9FrYlnuJZy AjMnxM/eGaRZAHM1Eezgw==
- Thread-index: Acdrl4hO0SVqr7hnRieusLeJYl0MJw==
- Thread-topic: hobbit-alert.cfg; PAGE filter with same host on multiple subpages?
Hi all!
I have the same hosts defined on multiple pages/subpages and want to use the PAGE rules for defining alerts in hobbit-alerts.cfg
This only seems to work for the "first" page, however, which is quite frustating...
bb-hosts:
page One
subparent One A A
1.2.3.4 switch_1 # testip
1.2.3.5 switch_2 # testip
1.2.3.6 switch_3 # testip
page Two
subparent Two B B
1.2.3.4 switch_1 # noconn
1.2.3.6 switch_3 # noconn
hobbit-alerts.cfg
PAGE=One/A
MAIL admin_one (at) foo.com
PAGE=Two/B
MAIL admin_two (at) foo.com
The info column of switch_1 clearly tells me that Page/subpage is One/A and Two/B, however I can only see the alerting to admin_one (at) foo.com. Removing switch_1 from the One/A section enables my alerting to admin_two (at) foo.com.
Is this a limitation in the Hobbit alerting? Something unforeseen? Or am I not thinking straight?
Getting this to work would REALLY simplify my existance. I am implementing Hobbit Monitor in a quite big environment I believe... So far i have 832 switches in my bb-hosts file (takes 46 seconds to ping, according to bbtest). Not started on our servers yet. (No, I don't do this manually - I have designed a nice web GUI (PHP/MySQL) for all configurations ;)
The best of regards to you all
Jörgen Lindqvist
Varberg, Sweden