report_options: Syntax fix
[ninja.git] / test / unit_test / reports / groups_service.tst
blob8bc40c1c9bcd6afe180402d3053ba7de82ecefa3
1 description = Group availability for services
2 logfile = groups_service.log
4 global_vars {
5         includesoftstates = 1
8 Group availability including soft states (servicegroups) {
9         start_time = 1202684400
10         end_time = 1202770800
11         report_type = servicegroups
12         objects {
13                 group1 {
14                         testhost;PING
15                 }
16                 group2 {
17                         testhost2;PING
18                 }
19         }
20         correct {
21                 TIME_OK_UNSCHEDULED = 82800
22                 TIME_WARNING_UNSCHEDULED = 3600
23         }
26 Group availability including soft states (services) {
27         start_time = 1202684400
28         end_time = 1202770800
29         report_type = services
30         objects {
31                 testhost;PING
32                 testhost2;PING
33         }
34         correct {
35                 TIME_OK_UNSCHEDULED = 82800
36                 TIME_WARNING_UNSCHEDULED = 3600
37         }
40 Group availability including soft states, reversed host order (services) {
41         start_time = 1202684400
42         end_time = 1202770800
43         report_type = services
44         objects {
45                 testhost2;PING
46                 testhost;PING
47         }
48         correct {
49                 TIME_OK_UNSCHEDULED = 82800
50                 TIME_WARNING_UNSCHEDULED = 3600
51         }
54 Group availability excluding soft states (services) {
55         start_time = 1202684400
56         end_time = 1202770800
57         includesoftstates = 0
58         report_type = services
59         objects {
60                 testhost;PING
61                 testhost2;PING
62         }
63         correct {
64                 TIME_OK_UNSCHEDULED = 83400
65                 TIME_WARNING_UNSCHEDULED = 3000
66         }
69 Group availability excluding soft states, reversed host order (services) {
70         start_time = 1202684400
71         end_time = 1202770800
72         includesoftstates = 0
73         report_type = services
74         objects {
75                 testhost2;PING
76                 testhost;PING
77         }
78         correct {
79                 TIME_OK_UNSCHEDULED = 83400
80                 TIME_WARNING_UNSCHEDULED = 3000
81         }
84 Cluster mode availability including soft states (services) {
85         start_time = 1202684400
86         end_time = 1202770800
87         sla_mode = 2
88         report_type = services
89         objects {
90                 testhost;PING
91                 testhost2;PING
92         }
93         correct {
94                 TIME_OK_UNSCHEDULED = 86400
95         }
98 Cluster mode availability including soft states, reversed host order (services) {
99         start_time = 1202684400
100         end_time = 1202770800
101         sla_mode = 2
102         report_type = services
103         objects {
104                 testhost2;PING
105                 testhost;PING
106         }
107         correct {
108                 TIME_OK_UNSCHEDULED = 86400
109         }
112 Cluster mode availability excluding soft states (services) {
113         start_time = 1202684400
114         end_time = 1202770800
115         includesoftstates = 0
116         sla_mode = 2
117         report_type = services
118         objects {
119                 testhost;PING
120                 testhost2;PING
121         }
122         correct {
123                 TIME_OK_UNSCHEDULED = 86400
124         }
127 Cluster mode availability excluding soft states, reversed host order (services) {
128         start_time = 1202684400
129         end_time = 1202770800
130         includesoftstates = 0
131         sla_mode = 2
132         report_type = services
133         objects {
134                 testhost2;PING
135                 testhost;PING
136         }
137         correct {
138                 TIME_OK_UNSCHEDULED = 86400
139         }