Page 1 of 1

Failed Email Notification

Posted: Wed Nov 24, 2021 4:51 am
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,

Re: Failed Email Notification

Posted: Wed Nov 24, 2021 10:20 am
by gsmith
Hi,

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

Thanks

Re: Failed Email Notification

Posted: Wed Nov 24, 2021 10:23 am
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.

Re: Failed Email Notification

Posted: Wed Nov 24, 2021 2:27 pm
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

Re: Failed Email Notification

Posted: Thu Nov 25, 2021 6:15 am
by peakyblinder
Hi,

Ah, I see, makes sense. I have restarted httpd and will monitor for email failures but so far so good.

Re: Failed Email Notification

Posted: Mon Nov 29, 2021 10:09 am
by gsmith
HI

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

Thanks