HOST.CFG - just the template, every host uses it
Define host {
name generic-host ; Name of the template
notifications_enabled 1 ; Host notifications enabled / disabled
event_handler_enabled 0 ; Host event handler enabled / disabled
check_command check-host-alive
max_check_attempts 1 ; Nr of check attemps befor notifying
active_checks_enabled 1 ; Active checks enabled / disabled
flap_detection_enabled 1 ; Flap detection enebled / disabled
low_flap_threshold 30 ; % in state change over 21 checks needed for host to be considered still flapping
high_flap_threshold 35 ; % in state change over 21 checks needed for host enter flapping state
process_perf_data 1 ; Process performance data enabled /disabled
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
notifications_enabled 1 ; Notifications enabled / disabled
notification_interval 10 ; Mins between notifications
notification_period 24x7
notification_options d,u,r,f ; Notification on down, unknown, recovery, flapping
contact_groups none
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}
HOST_ESCALATIONS
define hostescalation {
host_name *
first_notification 1
last_notification 1
notification_interval 10
contact_groups system-admins
escalation_options d,u,r
escalation_period 24x7
}
define hostescalation {
host_name *
first_notification 2
last_notification 0
notification_interval 60
contact_groups escalation
escalation_options d,u,r
escalation_period 24x7
}