Last change
on this file since 2585 was
1118,
checked in by quentin, 15 years ago
|
Stuff goes down when AFS goes down...
|
File size:
1.7 KB
|
Line | |
---|
1 | # XVM |
---|
2 | |
---|
3 | define contactgroup { |
---|
4 | contactgroup_name sipb |
---|
5 | alias sipb Zephyr |
---|
6 | members sipb-auto-zephyr |
---|
7 | } |
---|
8 | |
---|
9 | define contact { |
---|
10 | use xvm-contact |
---|
11 | contact_name sipb-auto-zephyr |
---|
12 | alias sipb-auto-zephyr |
---|
13 | host_notification_period 24x7 |
---|
14 | service_notification_period 24x7 |
---|
15 | service_notification_options w,u,c,r |
---|
16 | host_notification_options d,u,r |
---|
17 | host_notification_commands host-notify-by-zephyr |
---|
18 | service_notification_commands notify-by-zephyr |
---|
19 | email sipb-auto |
---|
20 | } |
---|
21 | |
---|
22 | define host { |
---|
23 | name sipb-host |
---|
24 | use generic-host |
---|
25 | register 0 |
---|
26 | max_check_attempts 10 |
---|
27 | check_period 24x7 |
---|
28 | check_command check-host-alive |
---|
29 | notification_interval 120 |
---|
30 | notification_period 24x7 |
---|
31 | notification_options d,r |
---|
32 | contact_groups sipb |
---|
33 | parents sipb-ether |
---|
34 | } |
---|
35 | |
---|
36 | define service { |
---|
37 | name sipb-service |
---|
38 | use generic-service |
---|
39 | max_check_attempts 6 |
---|
40 | normal_check_interval 2 |
---|
41 | retry_check_interval 1 |
---|
42 | contact_groups sipb |
---|
43 | notification_interval 120 |
---|
44 | notification_period 24x7 |
---|
45 | notification_options w,u,c,r |
---|
46 | register 0 |
---|
47 | } |
---|
48 | |
---|
49 | define host { |
---|
50 | use sipb-host |
---|
51 | host_name stuff |
---|
52 | address 18.181.0.31 |
---|
53 | } |
---|
54 | |
---|
55 | define service { |
---|
56 | use sipb-service |
---|
57 | host_name stuff |
---|
58 | service_description PING |
---|
59 | check_command check_ping!500.0,30%!3000.0,80% |
---|
60 | } |
---|
61 | |
---|
62 | #define service { |
---|
63 | # use sipb-service |
---|
64 | # host_name stuff |
---|
65 | # service_description SSH |
---|
66 | # check_command check_ssh |
---|
67 | #} |
---|
68 | |
---|
69 | define service { |
---|
70 | use sipb-service |
---|
71 | host_name stuff |
---|
72 | service_description HTTP |
---|
73 | notification_period afs |
---|
74 | check_command check_http |
---|
75 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.