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