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

Gearing, James James.Gearing at analog.com
Tue Jul 25 21:06:19 CEST 2006


Thanks, that's what I was looking for.

Another question. Is it possible to do multiple TIME statements in one
alert? I'd like to get the alert 7-12 m-f and all day sat and sun. Know
if that's possible?

-----Original Message-----
From: R. Leyton [mailto:richard at leyton.org] 
Sent: Tuesday, July 25, 2006 3:01 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] How do you define days with "TIME" in the
hobbit-alerts.cfg?

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 - richard at leyton.org
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
>
> To unsubscribe from the hobbit list, send an e-mail to 
> hobbit-unsubscribe at hswn.dk
>
>


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



More information about the Xymon mailing list