hobbitd_alert bug with REPEAT
list Asif Iqbal
Thu, 8 Jul 2010 22:59:28 -0400
Message-Id: <user-dbdf646a1db0@xymon.invalid>
$ hobbitd_alert --dump-config shows
HOST=%(.*) SERVICE=apt COLOR=red
MAIL user-117fbc761302@xymon.invalid 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-117fbc761302@xymon.invalid at 0
2010-07-08 22:45:03 Alert for host.example.net:apt to user-117fbc761302@xymon.invalid
00012322 2010-07-08 22:45:03 Mail alert with command 'mail -s "Hobbit
[12345] host.example.net:apt CRITICAL (RED) [cfid:281]"
user-117fbc761302@xymon.invalid'
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-117fbc761302@xymon.invalid 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?