[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hobbitd_alert bug with REPEAT
- To: hobbit (at) hswn.dk
- Subject: hobbitd_alert bug with REPEAT
- From: Asif Iqbal <vadud3 (at) gmail.com>
- Date: Thu, 8 Jul 2010 22:59:28 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=j7My1R6g5bucYm7BAwpA0Rqab7rYtoILSz6qCeUohvs=; b=gKzDqZvGOYGC3Xm75VwnPp+/a6WypKHy1IzAH6og0frTW/1tCac7jL3yach9+3zolv I6efzDVujQNXqj2l1GBmulZvSibmY/cyIRqcwdvBZsljbWyRIeheFljY8DGcZ0S7i4D8 Vwmgh8qAxpzuo2IfsdpipN2/WNOzmIPlSheps=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=OCS/DKpvPRZCNSQUR0nqXNRXBcJN+cfkW1IL0vPWL8QWnAxAPpuzjpV379AykzFhiW 2k6PByvnR3irZhJLfpx4HIbV5TpjQ3htT4zm6fsikSWvCHSgTMJuARXkomjWPGaT30Wn MYsUwNnVrDgDU4D/wUJzLSuP2k1BDDloffqVQ=
$ 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?