[Xymon] DOWNTIME accross multiple days
Claessens Jurgen
Jurgen.Claessens at cegeka.be
Thu Mar 12 05:32:50 CET 2015
Hi,
For the Downtime on specific dyas, you just need to replace the * from the manpage and split it
Manpage: It says that "*:2330:0200" would be the same as "*:2330:2400,*:0000:0200".
So your downtime would mean:
ā51:2300:2400,51:0000:0400ā
Which might not be what you want.
I never tend to go over midnight unless the days are linked to each other and the first day I always put separate.
Best regards
Jurgen Claessens
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Brandon Dale
Sent: woensdag 11 maart 2015 3:24
To: Jeremy Laidman; Scot Kreienkamp
Cc: xymon at xymon.com
Subject: Re: [Xymon] DOWNTIME accross multiple days
The man page for hosts.cfg suggests that you can. It says that the DOWNTIME processing is the same as for NKTIME, and that for NKTIME the "interval between start time and end time may cross midnight". It says that "*:2330:0200" would be the same as "*:2330:2400,*:0000:0200".
J
Iām still having trouble getting my head around this, if I have this:
DOWNTIME=serbia:51:2300:0400:offline
Planned downtime: Fri/Mon:2300:0400 (status:serbia) (cause:offline)
Is this:
1. Down from 2300 on Friday to 0400 on Monday (spanning across Friday/Sat/Sun/Mon)
Or
2. Down on Friday/Sat from 2300 to 0400 AND mon/tues from 2300 to 0400
I might just need to test and see what happens I think.
Regards,
Brandon
This e-mail and all files transmitted as attachment(s) thereto are confidential and solely intended for the individual to whom or the organization to which they are addressed. If you received this e-mail by mistake, please notify Cegeka's Service Desk at cegeka.support at cegeka.be or call +32 (0)11 240 363. We thank you in advance. Cegeka hereby confirms that this message has been swept by Sophos for the presence of viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150312/6858e483/attachment.html>
More information about the Xymon
mailing list