1 ###############################################################################
2 ###############################################################################
6 ###############################################################################
7 ###############################################################################
9 # Generic service definition template - This is NOT a real service, just a template!
12 name generic-service ; The 'name' of this service template
13 active_checks_enabled 1 ; Active service checks are enabled
14 passive_checks_enabled 1 ; Passive service checks are enabled/accepted
15 parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems)
16 obsess_over_service 1 ; We should obsess over this service (if necessary)
17 check_freshness 0 ; Default is to NOT check service 'freshness'
18 notifications_enabled 1 ; Service notifications are enabled
19 event_handler_enabled 1 ; Service event handler is enabled
20 flap_detection_enabled 1 ; Flap detection is enabled
21 failure_prediction_enabled 1 ; Failure prediction is enabled
22 process_perf_data 1 ; Process performance data
23 retain_status_information 1 ; Retain status information across program restarts
24 retain_nonstatus_information 1 ; Retain non-status information across program restarts
25 is_volatile 0 ; The service is not volatile
26 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
30 # Local service definition template - This is NOT a real service, just a template!
33 name local-service ; The name of this service template
34 use generic-service ; Inherit default values from the generic-service definition
35 check_period 24x7 ; The service can be checked at any time of the day
36 max_check_attempts 4 ; Re-check the service up to 4 times in order to determine its final (hard) state
37 normal_check_interval 5 ; Check the service every 5 minutes under normal conditions
38 retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined
39 contact_groups admins ; Notifications get sent out to everyone in the 'admins' group
40 notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events
41 notification_interval 60 ; Re-notify about service problems every hour
42 notification_period 24x7 ; Notifications can be sent out at any time
43 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
47 # Define a service to "ping" the local machine
50 use local-service ; Name of service template to use
51 host_name onelab-test.inria.fr
52 service_description PING
53 check_command check_ping!100.0,20%!500.0,60%
57 # Define a service to check the disk space of the root partition
58 # on the local machine. Warning if < 20% free, critical if
59 # < 10% free space on partition.
62 use local-service ; Name of service template to use
63 host_name onelab-test.inria.fr
64 service_description Root Partition
65 check_command check_local_disk!20%!10%!/
70 # Define a service to check the number of currently logged in
71 # users on the local machine. Warning if > 20 users, critical
75 use local-service ; Name of service template to use
76 host_name onelab-test.inria.fr
77 service_description Current Users
78 check_command check_local_users!20!50
82 # Define a service to check the number of currently running procs
83 # on the local machine. Warning if > 250 processes, critical if
87 use local-service ; Name of service template to use
88 host_name onelab-test.inria.fr ;localhost
89 service_description Total Processes
90 check_command check_local_procs!250!400!RSZDT
95 # Define a service to check the load on the local machine.
98 use local-service ; Name of service template to use
99 host_name onelab-test.inria.fr
100 service_description Current Load
101 check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
106 ##################################
107 ########define service for remote hots
110 name remote-service ; The name of this service template
112 check_period 24x7 ; The service can be checked at any time of the day
113 max_check_attempts 4 ; Re-check the service up to 4 times in order to determine its final (hard) state
114 normal_check_interval 5 ; Check the service every 5 minutes under normal conditions
115 retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined
116 contact_groups admins ; Notifications get sent out to everyone in the 'admins' group
117 notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events
118 notification_interval 60 ; Re-notify about service problems every hour
119 notification_period 24x7 ; Notifications can be sent out at any time
120 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
125 ##nrpe remote services
127 ##################for private.inria host
128 ###################################
132 host_name private.one-lab.org
133 service_description check-host-alive
134 check_command check-host-alive!private.one-lab.org
139 host_name private.one-lab.org
140 service_description Check the http server
141 check_command check_http!private.one-lab.org
145 use remote-service ; Name of service template to use
146 host_name private.one-lab.org
147 service_description Check Load
148 check_command check_remote_load!private.one-lab.org
151 use remote-service ; Name of service template to use
152 host_name private.one-lab.org
153 service_description check users
154 check_command check_remote_users!private.one-lab.org
157 use remote-service ; Name of service template to use
158 host_name private.one-lab.org
159 service_description check Disk /dev/sda3
160 check_command check_remote_disk1!private.one-lab.org
163 use remote-service ; Name of service template to use
164 host_name private.one-lab.org
165 service_description check Disk /plc/root.img
166 check_command check_remote_disk2!private.one-lab.org
169 use remote-service ; Name of service template to use
170 host_name private.one-lab.org
171 service_description check procs
172 check_command check_remote_procs!private.one-lab.org
176 ################################
177 ############for build.org host
178 ################################
182 host_name build.one-lab.org
183 service_description check-host-alive
184 check_command check-host-alive! build.one-lab.org
189 host_name build.one-lab.org
190 service_description Check the http server
191 check_command check_http!build.one-lab.org
195 use remote-service ; Name of service template to use
196 host_name build.one-lab.org
197 service_description Check Load
198 check_command check_remote_load! build.one-lab.org
201 use remote-service ; Name of service template to use
202 host_name build.one-lab.org
203 service_description check users
204 check_command check_remote_users!build.one-lab.org
207 use remote-service ; Name of service template to use
208 host_name build.one-lab.org
209 service_description check disk /dev/sda3
210 check_command check_remote_disk1!build.one-lab.org
213 use remote-service ; Name of service template to use
214 host_name build.one-lab.org
215 service_description check disk /plc/devel/root.img
216 check_command check_remote_disk2!build.one-lab.org
219 use remote-service ; Name of service template to use
220 host_name build.one-lab.org
221 service_description check procs
222 check_command check_remote_procs!build.one-lab.org
225 ################################
226 ############for planet-lab.eu host
227 ################################
230 host_name planet-lab.eu
231 service_description Check the http server
232 check_command check_http!planet-lab.eu
237 host_name planet-lab.eu
238 service_description check-host-alive
239 check_command check-host-alive!planetlab.eu
244 use remote-service ; Name of service template to use
245 host_name planet-lab.eu
246 service_description check_load
247 check_command check_remote_load!planet-lab.eu
250 use remote-service ; Name of service template to use
251 host_name planet-lab.eu
252 service_description check users
253 check_command check_remote_users!planet-lab.eu
256 use remote-service ; Name of service template to use
257 host_name planet-lab.eu
258 service_description check Disk /home
259 check_command check_remote_disk1!planet-lab.eu
263 use remote-service ; Name of service template to use
264 host_name planet-lab.eu
265 service_description check disk /plc/root.img
266 check_command check_remote_disk2!planet-lab.eu
269 use remote-service ; Name of service template to use
270 host_name planet-lab.eu
271 service_description check procs
272 check_command check_remote_procs!planet-lab.eu
275 ###################################################################
276 ###################################################################
277 #services for planetlab.eu nodes
278 ###################################################################
279 ###################################################################
285 host_name onelab01.inria.fr
286 service_description check-host-alive
287 check_command check-host-alive!onelab01.inria.fr
291 host_name onelab01.inria.fr
292 service_description check SSH Access
293 check_command check_ssh!onelab01.inria.fr
300 host_name onelab02.inria.fr
301 service_description check-host-alive
302 check_command check-host-alive!onelab02.inria.fr
306 host_name onelab02.inria.fr
307 service_description check SSH Access
308 check_command check_ssh!onelab02.inria.fr
316 host_name onelab03.inria.fr
317 service_description check-host-alive
318 check_command check-host-alive!onelab03.inria.fr
322 host_name onelab03.inria.fr
323 service_description check SSH Access
324 check_command check_ssh!onelab03.inria.fr