One set of values has to override the other, so who wins, or which values take precedence, the host or service definition?
A similar question is do the values defined in the host override all others? I'm guessing this is yes...
Code: Select all
define host {
name generic-host
max_check_attempts 3
check_interval 5
retry_interval 5
check_period 24x7
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
register 0
}Code: Select all
define service {
name default-service
service_description default-service
display_name default-service
is_volatile 0
max_check_attempts 3
check_interval 5
retry_interval 5
active_checks_enabled 1
passive_checks_enabled 1
check_period 24x7
parallelize_check 1
obsess_over_service 0
check_freshness 0
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_interval 60
notification_period 24x7
notification_options w,c,u,r,
notifications_enabled 1
contact_groups admins
register 0
}