Xymon Mailing List Archive search

How do you define days with "TIME" in the hobbit-alerts.cfg?

list R. Leyton
Tue, 25 Jul 2006 20:00:37 +0100
Message-Id: <user-cde78fccbcf5@xymon.invalid>

Hi James,

You probably want to look at the bb-hosts(5) man page (specifically  the NKTIME section).
  day-of-week: W means Mon-Fri ("weekdays"), * means all  days,  0
              ..  6  = Sunday .. Saturday.  Listing multiple days  is possible,
              e.g. "60" is valid meaning "Saturday and Sunday".
ie. you're probably after a specification such as:

TIME=W:0700:0000

Hope that helps,

regards,

Richard

--
Richard Leyton - user-787ca786c598@xymon.invalid
http://www.leyton.org


On 25 Jul 2006, at 19:51, Gearing, James wrote:
Hi all,

I'm trying to setup my pager to alert me Monday - Friday, 7:00 -  24:00.
I understand how to set the hours, but how do you set the days? All  the
examples I have seen with days in them, only list one day or *. To do
multiple days, do you use "," between the days? Can you use a range
character? I have also seen Wednesday listed as W or 3 in the  examples,
will either work?

TIME=1,2,3,4,5:700:2400 <---is that right?

Thanks,
James