1 ###############################################################################
4 # $Id: contacts.cfg 5972 2005-05-14 13:33:19Z glen $
5 ###############################################################################
7 ###############################################################################
8 ###############################################################################
12 ###############################################################################
13 ###############################################################################
15 # Generic contact definition template - This is NOT a real contact, just a template!
17 ; The name of this contact template
19 ; service notifications can be sent anytime
20 service_notification_period 24x7
21 ; host notifications can be sent anytime
22 host_notification_period 24x7
23 ; send notifications for all service states, flapping events, and scheduled downtime events
24 service_notification_options w,u,c,r,f,s
25 ; send notifications for all host states, flapping events, and scheduled downtime events
26 host_notification_options d,u,r,f,s
27 ; send service notifications via email
28 service_notification_commands notify-service-by-email
29 ; send host notifications via email
30 host_notification_commands notify-host-by-email
31 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE!
35 ###############################################################################
36 ###############################################################################
40 ###############################################################################
41 ###############################################################################
43 # Generic host definition template - This is NOT a real host, just a template!
45 ; The name of this host template
47 ; Host notifications are enabled
48 notifications_enabled 1
49 ; Host event handler is enabled
50 event_handler_enabled 1
51 ; Flap detection is enabled
52 flap_detection_enabled 1
53 ; Failure prediction is enabled
54 failure_prediction_enabled 1
55 ; Process performance data
57 ; Retain status information across program restarts
58 retain_status_information 1
59 ; Retain non-status information across program restarts
60 retain_nonstatus_information 1
61 ; Send host notifications at any time
62 notification_period 24x7
63 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
67 # Linux host definition template - This is NOT a real host, just a template!
69 ; The name of this host template
71 ; This template inherits other values from the generic-host template
73 ; By default, Linux hosts are checked round the clock
75 ; Actively check the host every 5 minutes
77 ; Schedule host check retries at 1 minute intervals
79 ; Check each Linux host 10 times (max)
81 ; Default command to check Linux hosts
82 check_command check-host-alive
83 ; Linux admins hate to be woken up, so we only notify during the day
84 ; Note that the notification_period variable is being overridden from
85 ; the value that is inherited from the generic-host template!
86 notification_period workhours
87 ; Resend notifications every 2 hours
88 notification_interval 120
89 ; Only send notifications for specific host states
90 notification_options d,u,r
91 ; Notifications get sent to the admins by default
93 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
97 # Windows host definition template - This is NOT a real host, just a template!
99 ; The name of this host template
101 ; Inherit default values from the generic-host template
103 ; By default, Windows servers are monitored round the clock
105 ; Actively check the server every 5 minutes
107 ; Schedule host check retries at 1 minute intervals
109 ; Check each server 10 times (max)
110 max_check_attempts 10
111 ; Default command to check if servers are "alive"
112 check_command check-host-alive
113 ; Send notification out at any time - day or night
114 notification_period 24x7
115 ; Resend notifications every 30 minutes
116 notification_interval 30
117 ; Only send notifications for specific host states
118 notification_options d,r
119 ; Notifications get sent to the admins by default
120 contact_groups admins
121 ; Host groups that Windows servers should be a member of
122 hostgroups windows-servers
123 ; DONT REGISTER THIS - ITS JUST A TEMPLATE
127 # We define a generic printer template that can be used for most printers we monitor
129 ; The name of this host template
131 ; Inherit default values from the generic-host template
133 ; By default, printers are monitored round the clock
135 ; Actively check the printer every 5 minutes
137 ; Schedule host check retries at 1 minute intervals
139 ; Check each printer 10 times (max)
140 max_check_attempts 10
141 ; Default command to check if printers are "alive"
142 check_command check-host-alive
143 ; Printers are only used during the workday
144 notification_period workhours
145 ; Resend notifications every 30 minutes
146 notification_interval 30
147 ; Only send notifications for specific host states
148 notification_options d,r
149 ; Notifications get sent to the admins by default
150 contact_groups admins
151 ; DONT REGISTER THIS - ITS JUST A TEMPLATE
155 # Define a template for switches that we can reuse
157 ; The name of this host template
159 ; Inherit default values from the generic-host template
161 ; By default, switches are monitored round the clock
163 ; Switches are checked every 5 minutes
165 ; Schedule host check retries at 1 minute intervals
167 ; Check each switch 10 times (max)
168 max_check_attempts 10
169 ; Default command to check if routers are "alive"
170 check_command check-host-alive
171 ; Send notifications at any time
172 notification_period 24x7
173 ; Resend notifications every 30 minutes
174 notification_interval 30
175 ; Only send notifications for specific host states
176 notification_options d,r
177 ; Notifications get sent to the admins by default
178 contact_groups admins
179 ; DONT REGISTER THIS - ITS JUST A TEMPLATE
183 ###############################################################################
184 ###############################################################################
188 ###############################################################################
189 ###############################################################################
191 # Generic service definition template - This is NOT a real service, just a template!
193 ; The 'name' of this service template
195 ; Active service checks are enabled
196 active_checks_enabled 1
197 ; Passive service checks are enabled/accepted
198 passive_checks_enabled 1
199 ; Active service checks should be parallelized (disabling this can lead to major performance problems)
201 ; We should obsess over this service (if necessary)
202 obsess_over_service 1
203 ; Default is to NOT check service 'freshness'
205 ; Service notifications are enabled
206 notifications_enabled 1
207 ; Service event handler is enabled
208 event_handler_enabled 1
209 ; Flap detection is enabled
210 flap_detection_enabled 1
211 ; Failure prediction is enabled
212 failure_prediction_enabled 1
213 ; Process performance data
215 ; Retain status information across program restarts
216 retain_status_information 1
217 ; Retain non-status information across program restarts
218 retain_nonstatus_information 1
219 ; The service is not volatile
221 ; The service can be checked at any time of the day
223 ; Re-check the service up to 3 times in order to determine its final (hard) state
225 ; Check the service every 10 minutes under normal conditions
226 normal_check_interval 10
227 ; Re-check the service every two minutes until a hard state can be determined
228 retry_check_interval 2
229 ; Notifications get sent out to everyone in the 'admins' group
230 contact_groups admins
231 ; Send notifications about warning, unknown, critical, and recovery events
232 notification_options w,u,c,r
233 ; Re-notify about service problems every hour
234 notification_interval 60
235 ; Notifications can be sent out at any time
236 notification_period 24x7
237 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
241 # Local service definition template - This is NOT a real service, just a template!
243 ; The name of this service template
245 ; Inherit default values from the generic-service definition
247 ; Re-check the service up to 4 times in order to determine its final (hard) state
249 ; Check the service every 5 minutes under normal conditions
250 normal_check_interval 5
251 ; Re-check the service every minute until a hard state can be determined
252 retry_check_interval 1
253 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
257 # vim:ts=4:sw=4:ft=nagios