hobbitd_alert bug with REPEAT

Asif Iqbal vadud3 at gmail.com
Fri Jul 9 04:59:28 CEST 2010


$ hobbitd_alert --dump-config shows

HOST=%(.*) SERVICE=apt COLOR=red
        MAIL user at example.net FORMAT=TEXT REPEAT=1440

But I am receiving the same alert every 30 mins (default) with same alert code.

The info column says Repeat is 1d for service apt.

$ hobbitd_alert --debug --test host.example.net apt --duration=35

00012322 2010-07-08 22:45:03 *** Match with 'HOST=%(.*) SERVICE=apt
COLOR=red' ***
2010-07-08 22:45:03   repeat host.example.net|apt|mail|user at example.net at 0
2010-07-08 22:45:03   Alert for host.example.net:apt to user at example.net
00012322 2010-07-08 22:45:03 Mail alert with command 'mail -s "Hobbit
[12345] host.example.net:apt CRITICAL (RED) [cfid:281]"
user at example.net'

why is it saying repeat ... 0 ? what is that mean ? am I experiencing a bug?

$ vi +281 server/etc/hobbit-alerts.cfg
[..]
HOST=%(.*) SERVICE=apt COLOR=red
        MAIL user at example.net REPEAT=1d   <-- line 281


Please advise.


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?



More information about the Xymon mailing list