Xymon Mailing List Archive search

downtime syntax revisited

2 messages in this thread

list Tim McCloskey · Mon, 14 Mar 2011 10:20:51 -0700 ·
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
list Henrik Størner · Mon, 14 Mar 2011 18:28:24 +0100 ·
quoted from Tim McCloskey
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