Discussion:
[Xymon] TIME syntax question
Neal, Jonathan W via Xymon
2018-11-02 16:30:09 UTC
Permalink
Trying to find the actual syntax for the TIME specification in alerts.cfg

So something like TIME=*:1200:2100 only sends that alerts during that time,
7 days a week. I assume the * is for day of the week. So if you only
wanted to send it Monday - Friday, what is the syntax for it? Is it like
cron where I can put 1-5 in there like TIME=1-5:1200:2100 or am I totally
off base?

Thanks in advance.
Jeremy Ruffer
2018-11-02 16:49:37 UTC
Permalink
You csn use W for weekdays.

Jeremy
---------- Forwarded message ----------
Date: Fri, 2 Nov 2018 12:30:09 -0400
Subject: TIME syntax question
Trying to find the actual syntax for the TIME specification in alerts.cfg
So something like TIME=*:1200:2100 only sends that alerts during that
time, 7 days a week. I assume the * is for day of the week. So if you
only wanted to send it Monday - Friday, what is the syntax for it? Is it
like cron where I can put 1-5 in there like TIME=1-5:1200:2100 or am I
totally off base?
Thanks in advance.
---------- Forwarded message ----------
Date: Fri, 2 Nov 2018 12:30:09 -0400
Subject: [Xymon] TIME syntax question
_______________________________________________
Xymon mailing list
http://lists.xymon.com/mailman/listinfo/xymon
Scott Birl
2018-11-02 16:54:27 UTC
Permalink
TIME=12345:1200:2100


-----Original Message-----
From: Xymon <xymon-***@xymon.com> On Behalf Of Neal, Jonathan W via Xymon
Sent: Friday, November 2, 2018 12:30 PM
To: ***@xymon.com
Subject: [Xymon] TIME syntax question

Trying to find the actual syntax for the TIME specification in alerts.cfg

So something like TIME=*:1200:2100 only sends that alerts during that time, 7 days a week. I assume the * is for day of the week. So if you only wanted to send it Monday - Friday, what is the syntax for it? Is it like cron where I can put 1-5 in there like TIME=1-5:1200:2100 or am I totally off base?

Thanks in advance.



_______________________________________________
Xymon mailing list
***@xymon.com
http://lists.xymon.com/mailman/listinfo/xymon

Loading...