Betsy provides an example of downtime with only three fields, which appear to be day, start time, end time.
From the docs: DOWNTIME=[columns:]day:starttime:endtime:cause[,day:starttime:endtime:cause]
From my working config (4.2.0): "DOWNTIME=*:*:2200:0730:Nightly Reboot"
With Betsy's exclusion of the [optional] Columns, does that specify ALL services for that host? (To think, I've been using an extra wildcard for a couple of years :/ )
Maybe this has changed in some new version, if so disregard. I have not looked a 4.3 yet but it's on the schedule.
Thanks and Regards,
Tim
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Elizabeth Schwartz [betsy.schwartz@] Sent: Monday, March 14, 2011 9:43 AM To: Henrik Størner Cc: xymon at xymon.com Subject: Re: [Xymon] Newbie badhttp questions
Great thanks!
I note that this one DOES work: ################# set a new default 0.0.0.0 .default. # DOWNTIME=0:0000:0300 badhttp:::2
Tim McCloskey wrote:
Betsy provides an example of downtime with only three fields, which appear to be day, start time, end time.
From the docs: DOWNTIME=[columns:]day:starttime:endtime:cause[,day:starttime:endtime:cause]
From my working config (4.2.0): "DOWNTIME=*:*:2200:0730:Nightly Reboot"
The 4.2.x manpage is wrong. It's been corrected in 4.3.0, there are two possible syntaxes:
DOWNTIME=day:starttime:endtime[,day:starttime:endtime] DOWNTIME=columns:day:starttime:endtime:cause[,columns:day:starttime:endtime:cause]
So either 3 columns, or 5. Not 4.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
tm@freedom.com