Am 13.08.2015 um 12:15 schrieb Åke Strandberg:
Hi
I would like do define a Scheduled downtime for a service every day between 
23:00 and 02:00.
However I cannot figure out how to set it up in the ranges clause.

If I write ”thursday” = ”23:00-02:00” i get an error.

”thursday” = ”23:00-24:00”
”friday” = ”00:00-02:00”
Is OK but when continuing with
”thursday” = ”23:00-24:00”
”friday” = ”00:00-02:00”
”friday” = ”23:00-24:00”

then
”friday” = ”00:00-02:00” is dropped

You can't set multiple keys inside the ranges dictionary, only the last one 
will win and override the others.
You may add multiple definitions inside the value as comma separated string, just like 
"00:00-02:00,23:00-24:00".

Those definitions are similar to the old-fashioned Nagios timeperiod 
definitions.

Kind regards,
Michael



/Åke Strandberg







_______________________________________________
icinga-users mailing list
[email protected]<mailto:[email protected]>
https://lists.icinga.org/mailman/listinfo/icinga-users



-- 
Michael Friedrich, DI (FH)
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to