Xymon Mailing List Archive search

Alerts problems

list Henrik Størner
Thu, 3 Mar 2005 22:32:10 +0100
Message-Id: <user-5038bb80c438@xymon.invalid>

On Thu, Mar 03, 2005 at 10:36:21AM -0500, user-fd47fec4b039@xymon.invalid wrote:
I just installed the post-RC4.patch and I am also getting alert messages
every minute but it is setup to alert every 30 minutes
The culprit is line 1488 of hobbitd/do_alert.c. I remember looking at
this and thinking "this looks wrong" and then changing it ... well,
it wasn't wrong so instead of fixing a bug, I broke it.

It's a simple fix: Change a 0 to a 1 (literally one bit that makes a
difference). After the post-RC4 patch, line 1488 reads

              rpt = find_repeatinfo(alert, recip, 0);

It should be
              rpt = find_repeatinfo(alert, recip, 1);


Regards,
Henrik