33 lines
2.8 KiB
INI
33 lines
2.8 KiB
INI
# Generic service definition template - This is NOT a real service, just a template!
|
|
define service{
|
|
name generic-service ; The 'name' of this service template
|
|
active_checks_enabled 1 ; Active service checks are enabled
|
|
passive_checks_enabled 1 ; Passive service checks are enabled/accepted
|
|
parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems)
|
|
obsess_over_service 1 ; We should obsess over this service (if necessary)
|
|
check_freshness 1 ; Default is to NOT check service 'freshness'
|
|
freshness_threshold 3600
|
|
notifications_enabled 1 ; Service notifications are enabled
|
|
notification_interval 1440
|
|
notification_period workhours
|
|
event_handler_enabled 0 ; Service event handler is enabled
|
|
flap_detection_enabled 1 ; Flap detection is enabled
|
|
failure_prediction_enabled 1 ; Failure prediction is enabled
|
|
process_perf_data 1 ; Process performance data
|
|
retain_status_information 1 ; Retain status information across program restarts
|
|
retain_nonstatus_information 1 ; Retain non-status information across program restarts
|
|
is_volatile 0 ; The service is not volatile
|
|
check_period 24x7 ; The service can be checked at any time of the day
|
|
max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state
|
|
check_interval 10 ; Check the service every 10 minutes under normal conditions
|
|
retry_interval 2 ; Re-check the service every two minutes until a hard state can be determined
|
|
notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events
|
|
contact_groups admins,users
|
|
stalking_options o,w,u,c
|
|
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
|
|
|
|
#Shinken specific
|
|
# resultmodulations critical_is_warning
|
|
# escalations ToLevel2
|
|
}
|