Mail configuration question


#1

I have my Nagios 3.0.6 setup working properly, but I have a question about emails. I have several checks setup to send email notifications to multiple groups. The problem is that when these emails are sent, one group does not see the email address of the other groups in the email notification. This can cause a problem if both groups are trying to troubleshoot the issue at the same time. My configuration is as follows:

From contacts.cfg:

define contact{
contact_name infrastructure
alias Infrastructure Mail
host_notification_period 24x7
service_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
}

define contact{
contact_name applications
alias Applications Mail
host_notification_period 24x7
service_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
}

From contactgroups.cfg:

define contactgroup{
contactgroup_name systems_mail
alias Systems Mail
members infrastructure,applications
}

Ideas?

Thanks,
Jon


#2

if you have oinly few reciepents you could try this… create a new mail alias containing both addresses if a group receives a mail for that alias they know it’s been received by the others too?

Other way would be to see fi nagios i ssending a single email or multiple and see if the postfix conifg can be changed to have evcerything visibile… not sure.