Here are the templates I am using:
Code: Select all
define host {
name generic-host
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_period 24x7
notifications_enabled 1
failure_prediction_enabled 1
register 0
}
define host {
name passive_host
check_command host-is-stale
use generic-host
max_check_attempts 3
check_interval 5
retry_interval 1
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7
obsess_over_host 1
check_freshness 1
freshness_threshold 480
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
contact_groups on_call
notification_interval 60
notification_period 24x7
notification_options d,r,s
notifications_enabled 1
failure_prediction_enabled 1
register 0
}
Thanks,
Trey