[Xymon] Limiting repeated messages

Erik erik at schminke.us
Fri Feb 10 14:26:21 CET 2017

Using what you'd provided, here's what I'd put in your alerts.cfg

HOST=NMSRep SERVICE=LogMasterErr,NMSRepScheduler,NMSRepTask,RepDisc_Issues
COLOR=red,yellow,purple RECOVERED
    SCRIPT /usr/local/scripts/html_mail.pl $NG-NMSRep-DEV DURATION>7d

I moved the duration rules down to the "SCRIPT" line.  I also added a
2nd duration rule to demonstrate you could time box this.  The script
will fire once per day for 7 days, after 7 days.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170210/bfd0efb4/attachment.html>

More information about the Xymon mailing list