Hi,
I have a strange Problem. I try to schedule a Downtime every day between 22:00 and 06:00 for a Host.
I read the Problem on Schedule downtimes for hosts and try it, but the Downtime is not set
Any idea whats wrong here?
host.conf
...
object Host "evoko02" {
import "generic-host"
import "evokos"
display_name = "Evoko Europe"
address = "xxx.xxx.xxx.xxx"
...
}
templates.conf
...
template Host "evokos" {
vars.os = "evoko"
vars.group = "evokos"
vars.notification["mail"] = {
groups = [ "admin" ]
}
}
downtimes.conf
apply ScheduledDowntime "evoko-downtime" to Host {
author = "unixadmin"
comment = "Scheduled downtime for Evokos"
ranges = {
monday = "22:00-06:00"
tuesday = "22:00-06:00"
wednesday = "22:00-06:00"
thursday = "22:00-06:00"
friday = "22:00-06:00"
saturday = "22:00-06:00"
sunday = "22:00-06:00"
}
assign where host.vars.os == "evoko"
}