I have set up contacts, and contactgroups, and notifications/alerts. Even though Nagios Server is sending notification as below, and as when i do test email, i'm also getting email. But im not getting notifications for Host down/critical. Am I doing something wrong. Please see the below setting for contacts, contactgroups. Thanks for your time! All these setting are in /nagios/etc/static directory.
Code: Select all
define contact {
contact_name Shrinath
alias Shrinath Chathoth
contactgroups cloud_support
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r,f,
service_notification_options w,u,c,f,s,
host_notification_commands xi_host_notification_handler
service_notification_commands xi_service_notification_handler
email [email protected]
}
Code: Select all
define contactgroup {
contactgroup_name cloud_support
alias ifs_ecom_cloud_support
members Amit,Hai,Shrinath,Mithun,Raghu,Roshan,Ratan,Shail
}
Code: Select all
define host {
host_name xxxxx
alias Legacy
address xxxxx
hostgroups mcominternal5008
check_command check-host-alive!!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
contact_groups cloud_support
notification_period 24x7
first_notification_delay 0
notification_options d,u,r,f,
notifications_enabled 1
register 1
icon_image redhat.png
statusmap_image redhat.png
}