Fix : fix hot module under windows test. (at leat I hope...)
[shinken.git] / test / etc / broken_1 / minimal.cfg
blob66c2834c7c78e765cdfe8bf0e2dcaa0414d9d704
1 define command{
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$
5 define command{
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$
9 define command{
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$
14 define command{
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
19 define command{
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$
23 define command{
24   command_name eventhandler
25   command_line    $USER1$/test_eventhandler.pl $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
27 define contactgroup{
28     contactgroup_name       test_contact
29     alias                   test_contacts_alias
30     members                 test_contact
32 define contact{
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
42     can_submit_commands             1
45 define hostgroup {
46     hostgroup_name          router
47     alias                   All Router Hosts
50 define hostgroup {
51     hostgroup_name          hostgroup_01
52     alias                   hostgroup_alias_01
55 define hostgroup {
56     hostgroup_name          hostgroup_02
57     alias                   hostgroup_alias_02
60 define hostgroup {
61     hostgroup_name          hostgroup_03
62     alias                   hostgroup_alias_03
65 define hostgroup {
66     hostgroup_name          hostgroup_04
67     alias                   hostgroup_alias_04
70 define hostgroup {
71     hostgroup_name          hostgroup_05
72     alias                   hostgroup_alias_05
75 define hostgroup {
76     hostgroup_name          up
77     alias                   All Up Hosts
80 define hostgroup {
81     hostgroup_name          down
82     alias                   All Down Hosts
85 define hostgroup {
86     hostgroup_name          pending
87     alias                   All Pending Hosts
90 define hostgroup {
91     hostgroup_name          random
92     alias                   All Random Hosts
95 define hostgroup {
96     hostgroup_name          flap
97     alias                   All Flapping Hosts
100 define hostgroup {
101     hostgroup_name          allhosts
102     alias                   All Hosts
103     members                 test_router_0,test_host_0
106 define host{
107   check_interval                 1
108   check_period                   24x7
109   contact_groups                 test_contact
110   event_handler_enabled          1
111   failure_prediction_enabled     1
112   flap_detection_enabled         1
113   max_check_attempts             3
114   name                           generic-host
115   notification_interval          1
116   notification_options           d,u,r
117   notification_period            24x7
118   notifications_enabled          1
119   process_perf_data              1
120   register                       0
121   retain_nonstatus_information   1
122   retain_status_information      1
123   retry_interval                 1
126 define host{
127   action_url                     http://search.cpan.org/dist/Monitoring-Generator-TestConfig/
128   address                        127.0.0.1
129   alias                          flap_0
130   check_command                  check-host-alive!flap
131   check_period                   24x7
132   host_name                      test_router_0
133   hostgroups                     router
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
138   use                            generic-host
141 define host{
142   address                        127.0.0.1
143   alias                          up_0
144   check_command                  check-host-alive-parent!up!$HOSTSTATE:test_router_0$
145   event_handler                  eventhandler
146   check_period                   24x7
147   host_name                      test_host_0
148   hostgroups                     hostgroup_01,up
149   parents                        test_router_0
150   use                            generic-host
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 {
180     servicegroup_name       ok
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
213 define service{
214   active_checks_enabled          1
215   check_freshness                0
216   check_interval                 1
217   check_period                   24x7
218   contact_groups                 test_contact
219   event_handler_enabled          1
220   failure_prediction_enabled     1
221   flap_detection_enabled         1
222   is_volatile                    0
223   max_check_attempts             2
224   name                           generic-service
225   notification_interval          1
226   notification_options           w,u,c,r
227   notification_period            24x7
228   notifications_enabled          1
229   obsess_over_service            1
230   parallelize_check              1
231   passive_checks_enabled         1
232   process_perf_data              1
233   register                       0
234   retain_nonstatus_information   1
235   retain_status_information      1
236   retry_interval                 1
239 define service{
240   action_url                     http://search.cpan.org/dist/Monitoring-Generator-TestConfig/
241   active_checks_enabled          1
242   check_command                  check_service!ok
243   check_interval                 1
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
249   retry_interval                 1
250   service_description            test_ok_0
251   servicegroups                  servicegroup_01,ok
252   use                            generic-service
253   event_handler                  eventhandler
256 define timeperiod{
257     timeperiod_name 24x7
258     alias           24 Hours A Day, 7 Days A Week
259     sunday          00:00-24:00
260     monday          00:00-24:00
261     tuesday         00:00-24:00
262     wednesday       00:00-24:00
263     thursday        00:00-24:00
264     friday          00:00-24:00
265     saturday        00:00-24:00