Page 1 of 1
Redundant Alerts being sent every time
Posted: Thu Feb 18, 2021 3:09 pm
by RIDS_I2MP
Hello Team,
We are observing that every time when alerts are sent to the contacts which we have configured, two alerts are being sent for the same parameter via two different mail Id's.
PFA for the same.
1st alert is going through Nagios RIDS-2 Production which we understand is correct as this is the mail id registered.
But we are not getting as to how and from where the 2nd alert is going through, that is via
[email protected] - This we do not want.
Please let us know where we can see this settings and how we can change this or disable this.
Re: Redundant Alerts being sent every time
Posted: Fri Feb 19, 2021 12:20 pm
by RIDS_I2MP
Hi Team,
Can you check and help us to fix the issue.
Re: Redundant Alerts being sent every time
Posted: Fri Feb 19, 2021 3:08 pm
by benjaminsmith
Hi,
I believe you may have multiple notification handlers set for your contacts. Can you verify this on the contact settings or contact template settings in the Core Config Manager?
xi-contact-template.png
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
If this is not the issue, please send over the system profile from this server.
Thanks,
Benjamin
Re: Redundant Alerts being sent every time
Posted: Fri Feb 19, 2021 3:52 pm
by RIDS_I2MP
Hello Team,
I believe this is not the case.
PFA and also the profile.
Thanks and Regards,
Saurabh Kulkarni.
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.
Re: Redundant Alerts being sent every time
Posted: Mon Feb 22, 2021 12:14 pm
by benjaminsmith
Hi,
The template file for the contacts is ok, but locally the contacts have more than one notification handler defined. If you are using the SMTP mail option, you'll want to remove notify-service-by-email and notify-host-by-email from the contacts associated with this servcie.
Here's the service details:
Code: Select all
define service {
host_name ESBCN01-AC61.......
service_description Port 8 Status
check_period xi_timeperiod_24x7
check_command check_xi_service_ifoperstatus!9TgWkw1mK2rS!8!-v 2 -p 161
contacts RIDS_CC_TEAM,RIDS.NETWORK.Team
contact_groups All_Alerts
Go to the Core Config Manager and remove the
RIDS_CC_TEAM
Code: Select all
define contact {
contact_name RIDS_CC_TEAM
alias RIDS_CC_TEAM
service_notification_period rids_cc_team_notification_times
host_notification_period rids_cc_team_notification_times
service_notification_options r,w,u,c
host_notification_options r,d,u
service_notification_commands xi_service_notification_handler,notify-service-by-email,notify-host-by-email
host_notification_commands xi_host_notification_handler,notify-service-by-email,notify-host-by-email[
nagiosadmin
Code: Select all
define contact {
contact_name nagiosadmin
alias Nagios Administrator
service_notification_period nagiosadmin_notification_times
host_notification_period nagiosadmin_notification_times
service_notification_options r,w,u,c
host_notification_options r,d,u
service_notification_commands xi_service_notification_handler,notify-service-by-email,notify-host-by-email
host_notification_commands xi_host_notification_handler,notify-service-by-email,notify-host-by-email
email email-addrress
RIDS.NETWORK.Team
Code: Select all
define contact {
contact_name RIDS.NETWORK.Team
alias RIDS.NETWORK.Teamxxxx
service_notification_period RIDS.NETWORK.Team_notification_times
host_notification_period RIDS.NETWORK.Team_notification_times
service_notification_options r,w,u,c
host_notification_options r,d,u
service_notification_commands xi_service_notification_handler,notify-service-by-email,notify-host-by-email
host_notification_commands xi_host_notification_handler,notify-service-by-email,notify-host-by-email
Let me know if that resolves the issue for you.