2 command_name check-host-alive
3 command_line $USER1$/test_hostcheck.pl --type=$ARG1$ --failchance=2% --previous-state=$HOSTSTATE$ --state-duration=$HOSTDURATIONSEC$ --hostname $HOSTNAME$
6 command_name check-host-alive-parent
7 command_line $USER1$/test_hostcheck.pl --type=$ARG1$ --failchance=2% --previous-state=$HOSTSTATE$ --state-duration=$HOSTDURATIONSEC$ --parent-state=$ARG2$ --hostname $HOSTNAME$
10 command_name notify-host
11 #command_line sleep 1 && /bin/true
12 command_line $USER1$/notifier.pl --hostname $HOSTNAME$ --notificationtype $NOTIFICATIONTYPE$ --hoststate $HOSTSTATE$ --hostoutput $HOSTOUTPUT$ --longdatetime $LONGDATETIME$ --hostattempt $HOSTATTEMPT$ --hoststatetype $HOSTSTATETYPE$
15 command_name notify-service
16 command_line $USER1$/notifier.pl --hostname $HOSTNAME$ --servicedesc $SERVICEDESC$ --notificationtype $NOTIFICATIONTYPE$ --servicestate $SERVICESTATE$ --serviceoutput $SERVICEOUTPUT$ --longdatetime $LONGDATETIME$ --serviceattempt $SERVICEATTEMPT$ --servicestatetype $SERVICESTATETYPE$
17 #command_line sleep 1 && /bin/true
20 command_name check_service
21 command_line $USER1$/test_servicecheck.pl --type=$ARG1$ --failchance=5% --previous-state=$SERVICESTATE$ --state-duration=$SERVICEDURATIONSEC$ --total-critical-on-host=$TOTALHOSTSERVICESCRITICAL$ --total-warning-on-host=$TOTALHOSTSERVICESWARNING$ --hostname $HOSTNAME$ --servicedesc $SERVICEDESC$
24 command_name eventhandler
25 command_line $USER1$/test_eventhandler.pl $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
28 contactgroup_name test_contact
29 alias test_contacts_alias
33 contact_name test_contact
34 alias test_contact_alias
35 service_notification_period 24x7
36 host_notification_period 24x7
37 service_notification_options w,u,c,r
38 host_notification_options d,r
39 service_notification_commands notify-service
40 host_notification_commands notify-host
41 email nobody@localhost
47 alias All Router Hosts
51 hostgroup_name hostgroup_01
52 alias hostgroup_alias_01
56 hostgroup_name hostgroup_02
57 alias hostgroup_alias_02
61 hostgroup_name hostgroup_03
62 alias hostgroup_alias_03
66 hostgroup_name hostgroup_04
67 alias hostgroup_alias_04
71 hostgroup_name hostgroup_05
72 alias hostgroup_alias_05
86 hostgroup_name pending
87 alias All Pending Hosts
92 alias All Random Hosts
97 alias All Flapping Hosts
101 hostgroup_name allhosts
103 members test_router_0,test_host_0
109 contact_groups test_contact
110 event_handler_enabled 1
111 failure_prediction_enabled 1
112 flap_detection_enabled 1
115 notification_interval 1
116 notification_options d,u,r
117 notification_period 24x7
118 notifications_enabled 1
121 retain_nonstatus_information 1
122 retain_status_information 1
127 action_url http://search.cpan.org/dist/Monitoring-Generator-TestConfig/
130 check_command check-host-alive!flap
132 host_name test_router_0
134 icon_image ../../docs/images/switch.png
135 icon_image_alt icon alt string
136 notes just a notes string
137 notes_url http://search.cpan.org/dist/Monitoring-Generator-TestConfig/README
144 check_command check-host-alive-parent!up!$HOSTSTATE:test_router_0$
145 event_handler eventhandler
147 host_name test_host_0
148 hostgroups hostgroup_01,up
149 parents test_router_0
154 define servicegroup {
155 servicegroup_name servicegroup_01
156 alias servicegroup_alias_01
159 define servicegroup {
160 servicegroup_name servicegroup_02
161 alias servicegroup_alias_02
164 define servicegroup {
165 servicegroup_name servicegroup_03
166 alias servicegroup_alias_03
169 define servicegroup {
170 servicegroup_name servicegroup_04
171 alias servicegroup_alias_04
174 define servicegroup {
175 servicegroup_name servicegroup_05
176 alias servicegroup_alias_05
179 define servicegroup {
181 alias All Ok Services
184 define servicegroup {
185 servicegroup_name warning
186 alias All Warning Services
189 define servicegroup {
190 servicegroup_name unknown
191 alias All Unknown Services
194 define servicegroup {
195 servicegroup_name critical
196 alias All Critical Services
199 define servicegroup {
200 servicegroup_name pending
201 alias All Pending Services
204 define servicegroup {
205 servicegroup_name random
206 alias All Random Services
209 define servicegroup {
210 servicegroup_name flap
211 alias All Flapping Services
214 active_checks_enabled 1
218 contact_groups test_contact
219 event_handler_enabled 1
220 failure_prediction_enabled 1
221 flap_detection_enabled 1
225 notification_interval 1
226 notification_options w,u,c,r
227 notification_period 24x7
228 notifications_enabled 1
229 obsess_over_service 1
231 passive_checks_enabled 1
234 retain_nonstatus_information 1
235 retain_status_information 1
240 action_url http://search.cpan.org/dist/Monitoring-Generator-TestConfig/
241 active_checks_enabled 1
242 check_command check_service!ok
244 host_name test_host_0
245 icon_image ../../docs/images/tip.gif
246 icon_image_alt icon alt string
247 notes just a notes string
248 notes_url http://search.cpan.org/dist/Monitoring-Generator-TestConfig/README
250 service_description test_ok_0
251 servicegroups servicegroup_01,ok
253 event_handler eventhandler
258 alias 24 Hours A Day, 7 Days A Week
262 wednesday 00:00-24:00