Page 1 of 1

host notification is not working

Posted: Tue Nov 17, 2015 2:36 am
by m.sundaramoorthi
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

Re: host notification is not working

Posted: Tue Nov 17, 2015 10:42 am
by hsmith
Why is contact_groups obfuscated here? Do you have an email address there instead of an actual contact group?

Re: host notification is not working

Posted: Mon Nov 23, 2015 1:38 am
by m.sundaramoorthi
No, I am using contact group only. The issue has been resolved, Email command definition was having a correction. I rectified this issue. Thanks for your help.

Re: host notification is not working

Posted: Mon Nov 23, 2015 10:07 am
by rkennedy
Glad to see this is resolved. I will now close this thread out, feel free to open another one if you ever need assistance in the future.