hobbitd_alert bug with REPEAT
list Asif Iqbal
$ 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?
list Henrik Størner
▸
In <user-dbdf646a1db0@xymon.invalid> Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> writes:
$ hobbitd_alert --dump-config shows
HOST=%(.*) SERVICE=apt COLOR=red
MAIL user-117fbc761302@xymon.invalid FORMAT=TEXT REPEAT=1440But I am receiving the same alert every 30 mins (default) with same alert code.
The info column says Repeat is 1d for service apt.
Could you check the notifications.log file for some of the
extra alerts you receive ? It looks like this:
Thu Jul 1 07:07:00 2010 osiris.hswn.dk.cpu (0.0.0.0) user-ce4a2c883f75@xymon.invalid[121] 1277960820 200
Thu Jul 1 07:46:05 2010 dali.hswn.dk.cpu (172.16.10.4) user-ce4a2c883f75@xymon.invalid[121] 1277963165 200
The number in the square brackets is the line in your hobbit-alerts.cfg
that generates the alert.
▸
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
:-)) Regards, Henrik
list Asif Iqbal
user-ae9b8668bcde@xymon.invalid bouced. so resending, to the new address ---------- Forwarded message ----------
▸
From: Asif Iqbal <user-6f4b51ac2a40@xymon.invalid>
Date: Fri, Jul 9, 2010 at 9:16 AM
Subject: Re: [xymon] hobbitd_alert bug with REPEAT
To: user-ae9b8668bcde@xymon.invalid
On Fri, Jul 9, 2010 at 1:53 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:In <user-dbdf646a1db0@xymon.invalid> Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> writes:$ hobbitd_alert --dump-config showsHOST=%(.*) SERVICE=apt COLOR=red MAIL user-117fbc761302@xymon.invalid FORMAT=TEXT REPEAT=1440But I am receiving the same alert every 30 mins (default) with same alert code.The info column says Repeat is 1d for service apt.Could you check the notifications.log file for some of the extra alerts you receive ? It looks like this: Thu Jul 1 07:07:00 2010 osiris.hswn.dk.cpu (0.0.0.0) user-ce4a2c883f75@xymon.invalid[121] 1277960820 200 Thu Jul 1 07:46:05 2010 dali.hswn.dk.cpu (172.16.10.4) user-ce4a2c883f75@xymon.invalid[121] 1277963165 200
yep, shows the same issue Thu Jul 8 22:26:44 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278642403 0 Thu Jul 8 22:56:51 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278644211 0 Thu Jul 8 23:27:07 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278646026 0 Thu Jul 8 23:57:10 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278647829 0 Fri Jul 9 00:27:17 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278649635 0 Fri Jul 9 00:57:17 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278651436 0 Fri Jul 9 01:27:36 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278653255 0 Fri Jul 9 01:58:00 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278655078 0 Fri Jul 9 02:28:15 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278656894 0
▸
The number in the square brackets is the line in your hobbit-alerts.cfg that generates the alert.A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
:-))
▸
Regards,
Henrik
-- 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? -- 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?
list Asif Iqbal
▸
On Fri, Jul 9, 2010 at 9:19 AM, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:
user-ae9b8668bcde@xymon.invalid bouced. so resending, to the new address ---------- Forwarded message ---------- From: Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> Date: Fri, Jul 9, 2010 at 9:16 AM Subject: Re: [xymon] hobbitd_alert bug with REPEAT To: user-ae9b8668bcde@xymon.invalid On Fri, Jul 9, 2010 at 1:53 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:In <user-dbdf646a1db0@xymon.invalid> Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> writes:$ hobbitd_alert --dump-config showsHOST=%(.*) SERVICE=apt COLOR=red MAIL user-117fbc761302@xymon.invalid FORMAT=TEXT REPEAT=1440But I am receiving the same alert every 30 mins (default) with same alert code.The info column says Repeat is 1d for service apt.Could you check the notifications.log file for some of the extra alerts you receive ? It looks like this: Thu Jul 1 07:07:00 2010 osiris.hswn.dk.cpu (0.0.0.0) user-ce4a2c883f75@xymon.invalid[121] 1277960820 200 Thu Jul 1 07:46:05 2010 dali.hswn.dk.cpu (172.16.10.4) user-ce4a2c883f75@xymon.invalid[121] 1277963165 200yep, shows the same issue Thu Jul 8 22:26:44 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278642403 0 Thu Jul 8 22:56:51 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278644211 0 Thu Jul 8 23:27:07 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278646026 0 Thu Jul 8 23:57:10 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278647829 0 Fri Jul 9 00:27:17 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278649635 0 Fri Jul 9 00:57:17 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278651436 0 Fri Jul 9 01:27:36 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278653255 0 Fri Jul 9 01:58:00 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278655078 0 Fri Jul 9 02:28:15 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278656894 0
I still need help with this "bug" (?)
▸
The number in the square brackets is the line in your hobbit-alerts.cfg that generates the alert.A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
:-))
▸
Regards, Henrik-- 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? -- 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?
-- 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?
list Henrik Størner
▸
In <user-9a5063e530d7@xymon.invalid> Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> writes:
On Fri, Jul 9, 2010 at 1:53 AM, Henrik St=F8rner <user-ce4a2c883f75@xymon.invalid> wrote:Asif Iqbal wrote: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.Could you check the notifications.log file
yep, shows the same issue
Thu Jul 22:26:44 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278642403 0
Could it be that the status is changing in-between the alerts ? This would show up in the "history" of the status. Regards, Henrik
list Asif Iqbal
▸
On Thu, Jul 15, 2010 at 1:28 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-9a5063e530d7@xymon.invalid> Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> writes:On Fri, Jul 9, 2010 at 1:53 AM, Henrik St=F8rner <user-ce4a2c883f75@xymon.invalid> wrote:Asif Iqbal wrote: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.Could you check the notifications.log fileyep, shows the same issueThu Jul 22:26:44 2010 host.example.net.apt (192.168.0.190) user-117fbc761302@xymon.invalid[281] 1278642403 0Could it be that the status is changing in-between the alerts ?
Well, the alert code in the subject is always same. I forgot to mention that in the OP
This would show up in the "history" of the status.
I also just double checked the history and it shows on the status was red for 16 hrs +
▸
Regards, Henrik
-- 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?