Failed Email Notification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
peakyblinder
Posts: 63
Joined: Tue Mar 25, 2014 4:39 am

Failed Email Notification

Post by peakyblinder »

Hi,

Hope y'all are well!

I was requested to change the email address for a contact. I made a typo when I did it, and found this out when we started seeing email delivery failures in our team mailbox. Far enough, so I corrected the email address in the contact. However, we're still getting email delivery failures, and they’re listing the typo email address I incorrectly entered earlier.

Could Nagios be caching this somewhere?
Does anyone have any ideas on where to begin looking?

I did grep all the nagiosxi and nagios core backend files for the typo email address but could not find anything.

Any help would be much appreciated.

Thanks,
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Failed Email Notification

Post by gsmith »

Hi,

After changing the email address did you restart the httpd service?

Thanks
peakyblinder
Posts: 63
Joined: Tue Mar 25, 2014 4:39 am

Re: Failed Email Notification

Post by peakyblinder »

gsmith wrote:Hi,

After changing the email address did you restart the httpd service?

Thanks
Hi,
No, just the usual "Apply Configuration" as you do.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Failed Email Notification

Post by gsmith »

Hi

Please run:

Code: Select all

sudo systemctl restart httpd
This will cause the php mailer script to restart, clearing it of the old email
address. Please let me know the results.

Thank you
peakyblinder
Posts: 63
Joined: Tue Mar 25, 2014 4:39 am

Re: Failed Email Notification

Post by peakyblinder »

Hi,

Ah, I see, makes sense. I have restarted httpd and will monitor for email failures but so far so good.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Failed Email Notification

Post by gsmith »

HI

Awesome! I am going to lock this but will re-open it
if you have problems.

Thanks
Locked