[Xymon] exclude from alerts..

Larry Bonham larry at fni-stl.com
Thu Sep 21 16:45:34 CEST 2017


TIME=W:0000:0659,W:1801:2359,06:0000:2359 is a time setting that we use to activate a rule M-F 12AM-6:59AM, M-F 6:01PM-11:59PM, and Sunday and Saturday all day.

Not sure about all versions but at least with v4.3.28, this rule can be written as:

HOST=%^PBX* SERVICE=conn TIME=*:0000:0458,*:0510:2359
MAIL xxxxx at gmail.com<mailto:xxxxx at gmail.com> REPEAT=30 RECOVERED

If the TIME setting was on the MAIL line, xymon would still record the outage but would not send out the email.


From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Metron 6 (six)
Sent: Thursday, September 21, 2017 4:38 AM
To: xymon at xymon.com
Subject: [Xymon] exclude from alerts..

hello all,

i have these lines in my alerts.cfg
ignore line added recently, but it does not work..
i reboot my pbx's every morning at 5:00
what am i doing wrong ?

HOST=%^PBX* SERVICE=conn
IGNORE HOST=%^PBX* SERVICE=conn TIME=0500:0510
MAIL xxxxx at gmail.com<mailto:xxxxx at gmail.com> REPEAT=30 RECOVERED



--

regards,
Metron 6 (six)

Metron6 at gmail.com<mailto:Metron6 at gmail.com>

________________________________

CONFIDENTIALITY NOTICE:
This electronic mail message is intended exclusively for
recipient to which it is addressed. The contents of this message
and any attachments may contain confidential and privileged
information. Any unauthorized review, use, print, storage, copy,
disclosure or distribution is strictly prohibited. If you have
received this message in error, please advise the sender
immediately by replying to the message's sender and delete all
copies of this message and its attachments without disclosing
the contents to anyone, or using the contents for any purpose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170921/1afaff42/attachment.html>


More information about the Xymon mailing list