*Fix: escalations were offset of notif number by -1.
[shinken.git] / test / etc / escalations / contacts.cfg
blobb299e0c2ac6bc16889971f16b4e088ac2ae703c4
1 define contactgroup{
2     contactgroup_name       test_contact
3     alias                   test_contacts_alias
4     members                 test_contact
7 define contact{
8     contact_name                    test_contact
9     alias                           test_contact_alias
10     service_notification_period     24x7
11     host_notification_period        24x7
12     service_notification_options    w,u,c,r,f
13     host_notification_options       d,u,r,f,s
14     service_notification_commands   notify-service
15     host_notification_commands      notify-host
16     email                           nobody@localhost
17     can_submit_commands             1
22 define contact{
23     contact_name                    level1
24     alias                           level1
25     service_notification_period     24x7
26     host_notification_period        24x7
27     service_notification_options    w,u,c,r,f
28     host_notification_options       d,u,r,f,s
29     service_notification_commands   notify-service
30     host_notification_commands      notify-host
31     email                           nobody@localhost
32     can_submit_commands             1
36 define contact{
37     contact_name                    level2
38     alias                           level2
39     service_notification_period     24x7
40     host_notification_period        24x7
41     service_notification_options    w,u,c,r,f
42     host_notification_options       d,u,r,f,s
43     service_notification_commands   notify-service
44     host_notification_commands      notify-host
45     email                           nobody@localhost
46     can_submit_commands             1
51 define contact{
52     contact_name                    level3
53     alias                           level3
54     service_notification_period     24x7
55     host_notification_period        24x7
56     service_notification_options    w,u,c,r,f
57     host_notification_options       d,u,r,f,s
58     service_notification_commands   notify-service
59     host_notification_commands      notify-host
60     email                           nobody@localhost
61     can_submit_commands             1
64 #The first escalation level come from level1 to level2, from nb=2 to 4
65 define escalation{
66        escalation_name          ToLevel2
67        first_notification       2
68        last_notification        4
69        notification_interval    1
70        escalation_period        24x7          ;optionnal, if none, always true
71        escalation_options       d,u,r,w,c     ;optionnal, if none, all states (d,u,r,w,c)
72        contacts                 level2
75 # Then go level3 after >=5
76 define escalation{
77        escalation_name          ToLevel3
78        first_notification       5
79        last_notification        0
80        notification_interval    1
81        escalation_period        24x7          ;optionnal, if none, always true
82        escalation_options       d,u,r,w,c     ;optionnal, if none, all states (d,u,r,w,c)
83        contacts                 level3