host notification is not working
Posted: Tue Nov 17, 2015 2:36 am
Hi Team,
I have configured host notification and service notification. but host notification is not working. Below is the host definition.
Could some on please help to resolve this issue?
define host{
name windows-server ; The name of this host template
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host 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
check_command check-host-alive ; Default command to check if servers are "alive"
check_interval 10 ; Actively check the server every 5 minutes
retry_interval 10 ; Schedule host check retries at 1 minute intervals
max_check_attempts 3 ; Check each server 10 times (max)
check_period 24x7 ; The service can be checked at any time of the day
notification_period 24x7 ; Send notification out at any time - day or night
notification_interval 0 ; Resend notifications every 30 minutes
notification_options d,u,r ; Only send notifications for specific host states
contact_groups *********** ; Notifications get sent to the admins by default
hostgroups windows-servers ; Host groups that Windows servers should be a member of
register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE
}
Thanks,
Sundar
I have configured host notification and service notification. but host notification is not working. Below is the host definition.
Could some on please help to resolve this issue?
define host{
name windows-server ; The name of this host template
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host 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
check_command check-host-alive ; Default command to check if servers are "alive"
check_interval 10 ; Actively check the server every 5 minutes
retry_interval 10 ; Schedule host check retries at 1 minute intervals
max_check_attempts 3 ; Check each server 10 times (max)
check_period 24x7 ; The service can be checked at any time of the day
notification_period 24x7 ; Send notification out at any time - day or night
notification_interval 0 ; Resend notifications every 30 minutes
notification_options d,u,r ; Only send notifications for specific host states
contact_groups *********** ; Notifications get sent to the admins by default
hostgroups windows-servers ; Host groups that Windows servers should be a member of
register 0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE
}
Thanks,
Sundar