[hobbit] Alerts problems
Henrik Stoerner
henrik at hswn.dk
Thu Mar 3 22:32:10 CET 2005
On Thu, Mar 03, 2005 at 10:36:21AM -0500, Kevin.Hanrahan at novainfo.com 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
More information about the Xymon
mailing list