Xymon Mailing List Archive search

Big Alerting Issue

list Geoff Hallford
Sun, 10 Dec 2006 21:27:14 -0500
Message-Id: <user-7182bcceefa7@xymon.invalid>

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 user-ba585fe8ccf7@xymon.invalid. 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 user-ba585fe8ccf7@xymon.invalid RECOVERED