exclude from alerts..
list Metron 6 Six
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 user-a95c6d58b6f3@xymon.invalid REPEAT=30 RECOVERED -- regards, Metron 6 (six) user-17e4b93d552a@xymon.invalid
list Larry Bonham
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 user-a95c6d58b6f3@xymon.invalid<mailto:user-a95c6d58b6f3@xymon.invalid> 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 user-a95c6d58b6f3@xymon.invalid<mailto:user-a95c6d58b6f3@xymon.invalid> REPEAT=30 RECOVERED
--
regards,
Metron 6 (six)
user-17e4b93d552a@xymon.invalid<mailto:user-17e4b93d552a@xymon.invalid>
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.
list Robert Herron
I recommend using the DOWNTIME parameter inn the hosts.cfg file. See https://www.xymon.com/help/manpages/man5/hosts.cfg.5.html DOWNTIME=day:starttime:endtime[,day:starttime:endtime] DOWNTIME=columns:day:starttime:endtime:cause[,columns:day:starttime:endtime:cause]
▸
On Sep 21, 2017 4:37 AM, "Metron 6 (six)" <user-17e4b93d552a@xymon.invalid> wrote:
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 user-a95c6d58b6f3@xymon.invalid REPEAT=30 RECOVERED
--
regards,
Metron 6 (six)
user-17e4b93d552a@xymon.invalid
list Robert Herron
Finishing my statement. Using the DOWNTIME parameter in the hosts.cfg causes the downtime to be documented on the INFO page for the host and is leveraged by the SLA reporting. And most importantly for me, you don't get a red icon on the Xymon index page that could cause someone heartache.
▸
On Sep 27, 2017 1:39 PM, "Robert Herron" <user-8b27ea4290da@xymon.invalid> wrote:
I recommend using the DOWNTIME parameter inn the hosts.cfg file. See https://www.xymon.com/help/manpages/man5/hosts.cfg.5.html DOWNTIME=day:starttime:endtime[,day:starttime:endtime]
DOWNTIME=columns:day:starttime:endtime:cause[,
columns:day:starttime:endtime:cause]
▸
On Sep 21, 2017 4:37 AM, "Metron 6 (six)" <user-17e4b93d552a@xymon.invalid> wrote:
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 user-a95c6d58b6f3@xymon.invalid REPEAT=30 RECOVERED
--
regards,
Metron 6 (six)
user-17e4b93d552a@xymon.invalid