Page 1 of 1

Email Notification Issues

Posted: Thu Apr 15, 2021 2:44 pm
by J.A.K
For my own team we have used Users created from AD with the monitoring contact option enabled and it works great. While setting up some contacts on their own for teams we don't want to use the XI admin portal though the notifications seem to never send. Looking at it I've recreated the contact exactly with the right options and the email address is correct. I see that the notification fired in the notifications area so I know it at least is trying. Anywhere else I can check? I enabled the PHP Mailer log but when checking /usr/local/nagiosxi/tmp/phpmailer.log it's not showing the email being sent.
Screenshot.png

Re: Email Notification Issues

Posted: Thu Apr 15, 2021 5:00 pm
by J.A.K
I can literally copy a contact made via Users and add it to the host and the copy won't work while the original will, so I feel there is something I'm misunderstanding. Do the XI Notification cmds ONLY work if there is a matching User for the contact?

EDIT: After googling that exact verbiage I found this:

https://www.devopsschool.com/pdf/nagios ... mailer.pdf

So it looks like that is indeed the case. I'll follow this guide to see if these steps work.

Re: Email Notification Issues

Posted: Fri Apr 16, 2021 9:05 am
by gsmith
Hi,

Yup, you were right when you said:
Do the XI Notification cmds ONLY work if there is a matching User for the contact?
Glad you figured it out.

Thanks