[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Big Alerting Issue
- To: hobbit (at) hswn.dk
- Subject: Big Alerting Issue
- From: "Geoff Hallford" <geoff.hallford (at) gmail.com>
- Date: Sun, 10 Dec 2006 21:27:14 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=n/chJmp5UoPbw28et9X0htlkGlZKHSPxXDxinSuKCKdTCP9ndW8UFt31MLaZlfJXpJH5UzgvozW/WFz7bX22XLSH2KrP0LRwejHsNpJy01R5FOgZC19st4PFxU8Zq5EnVgrCF6zGYpReWLSNftWth6FpdfWvKHYDIjS2c97JhHs=
Hi,
I have a problem where Hobbit is not properly sending alerts based on the
PAGE criteria. When I look at the info button for TESTHOST and TESTHOST1, it
*DOES* shows an alert to test (at) test.org. When I run the test 'bbcmd
hobbitd_alert --test TESTHOST --color=red' or 'bbcmd hobbitd_alert --test
TESTHOST --color=red' it *DOESN'T' show that it matched an alert:
00023954 2006-12-10 21:14:51 Matching host:service:page
'TESTHOST:--color=red:' against rule line 314
00023954 2006-12-10 21:14:51 Failed 'PAGE=$SERVER1,$SERVER2 COLOR=red'
(pagename not in include list)
I also did a real test of taking the host down and no page went out and
nothing is listed in the /var/log/hobbit/notifications.log.
THIS IS URGENT IF ANYONE CAN HELP. I recently switched my alerts to be by
pagename and thought it should work based on the info page but I guess not.
Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SETUP
bb-hosts
------------
page servers Servers
subpage wintel Wintel Servers
10.10.10.10 TESTHOST
page other Other
subpage othersub Other page
20.20.20.20 TESTHOST1
hobbit-alerts.cfg
-----------------------
$SERVER1=servers/wintel
$SERVER2=other/othersub
PAGE=$SERVER1,$SERVER2 COLOR=red
MAIL test (at) test.org RECOVERED