3 object Host "5980-host" {
4 import "test-generic-host"
8 object Service "5980-service1" {
9 import "test-generic-service"
10 host_name = "5980-host"
11 check_command = "dummy"
14 object Service "5980-service2" {
15 import "test-generic-service"
16 host_name = "5980-host"
17 check_command = "dummy"
21 template ScheduledDowntime "5980-test-downtime" {
22 author = "icingaadmin"
23 comment = "Scheduled downtime for tests"
26 monday = "02:00-03:00"
27 tuesday = "02:00-03:00"
28 wednesday = "02:00-03:00"
29 thursday = "02:00-03:00"
30 friday = "02:00-03:00"
31 saturday = "02:00-03:00"
32 sunday = "02:00-03:00"
37 apply ScheduledDowntime "5980-test-service-downtime" to Host {
38 import "5980-test-downtime"
39 comment = "Scheduled host downtime for tests"
42 tuesday = "09:37-09:40"
45 assign where host.name == "5980-host"
48 apply ScheduledDowntime "5980-test-service-downtime" to Service {
49 import "5980-test-downtime"
50 comment = "Scheduled service downtime for tests"
53 tuesday = "09:37-09:40"
56 assign where host.name == "5980-host"