Hello Centreon Community,
I'm currently experiencing an issue with email notifications in my Centreon setup. I have configured multiple contacts in my contacts.cfg
file, each with their own email address for notifications. However, I'm only receiving notifications at one specific email address of the admin (admin@admin.com
) and not the others.
I've checked my Postfix configuration and it seems to be correctly set up to relay emails through Office 365's SMTP server using authentication. I've also verified the notification settings for each contact in Centreon and they appear to be configured correctly.
Here is a snippet of my contacts.cfg
file:
define contact {
contact_name Exploitation
alias exploitation
email exploitation@exploitation.com
host_notification_period workhours
service_notification_period workhours
host_notification_options d,u,r,f
service_notification_options w,u,c,r
register 1
timezone :Europe/Zurich
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_commands host-notify-by-email
service_notification_commands service-notify-by-email
}
define contact {
contact_name Informatique
alias informatique
email informatique@informatique.com
host_notification_period workhours
service_notification_period workhours
host_notification_options d,u,r,f
service_notification_options w,u,c,r,f
register 1
timezone :Europe/Zurich
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_commands host-notify-by-email
service_notification_commands service-notify-by-email
}
define contact {
contact_name admin_admin
alias admin
email adminr@admin.com
host_notification_period workhours
service_notification_period workhours
host_notification_options d,u,r,f
service_notification_options w,u,c,r
register 1
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_commands host-notify-by-email
service_notification_commands service-notify-by-email
}