Xymon Mailing List Archive search

downtime syntax revisited

list Henrik Størner
Mon, 14 Mar 2011 18:28:24 +0100
Message-Id: <user-22ba54a521ea@xymon.invalid>

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