Interface ScheduledDowntime

ScheduledDowntime objects can be used to set up recurring downtimes for hosts/services.

Best Practice

Rather than creating a ScheduledDowntime object for a specific host or service it is usually easier to just create a ScheduledDowntime template and use the apply keyword to assign the scheduled downtime to a number of hosts or services. Use the to keyword to set the specific target type for Host or Service. Check the recurring downtimes example for details.

Example:

object ScheduledDowntime "some-downtime" {
host_name = "localhost"
service_name = "ping4"

author = "icingaadmin"
comment = "Some comment"

fixed = false
duration = 30m

ranges = {
"sunday" = "02:00-03:00"
}
}
interface ScheduledDowntime {}