Hi all,
I am new to nagios, I manged to install and configure nagios and it is working fine and sending notifications to me, now I am planning to add few more person's mail ID in contacts.cfg file, I tried to define contact Group and adding contact with other mail ID in it, but nagios is not sending notifications to them, kindly suggest me on this, thanks in advance.
#########################/usr/local/nagios/etc/objects/templates.cfg########################
CONTACT TEMPLATES
define contact{
name SYS-ADMIN ; The name of this contact template apart from default
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
register 0
}
###############################/usr/local/nagios/etc/objects/contact.cfg##############
CONTACTS
define contact{
contact_name Yoga
use SYS-ADMIN
alias system admin
email [email protected]
}