[hobbit] "Stop after" not shown in the Info-Page

Alexander Bech alex at bakarasse.de
Mon Nov 17 23:36:07 CET 2008


Alexander Bech schrieb:
> Hi,
>
> i have configured alerts in hobbit-alerts.cfg:
>
> HOST=%.*
>      MAIL recipient (at) company.examle DURATION>3 DURATION<10 REPEAT=1
>
> This works fine.
> Hobbit sent me 7 mails after 3 minutes each minute and after that no 
> more.
>
> But i can't see anything in the "Stop after" column in the info-page.
>
>
I have found the bug (?) in loadalerts.c in the line 1081 (-less 
than/+greater than):
-               if (recip->criteria && recip->criteria->maxduration && 
(recip->criteria->maxduration < maxdur)) ...
+               if (recip->criteria && recip->criteria->maxduration && 
(recip->criteria->maxduration > maxdur)) ...

This works:
info

Alex


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20081117/65313868/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 46806 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20081117/65313868/attachment.jpe>


More information about the Xymon mailing list