New users not recieving email alerts/notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

New users not recieving email alerts/notifications

Post by benningtonr »

I created a new user, and assigned that user to a service so that should it have an issue he would be notified. But no mater what I change, an email is never sent. I matched it word and detail to detail against mine and still no email is sent.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: New users not recieving email alerts/notifications

Post by tmcdonald »

Did you also create a contact for that user? Contacts and users are two separate things.

Can you send a test email while logged in as that user under Configure -> My Account Settings -> Send Test Notifications?
Former Nagios employee
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: New users not recieving email alerts/notifications

Post by benningtonr »

I created a contact but not a user, do I need to have both?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: New users not recieving email alerts/notifications

Post by tmcdonald »

Former Nagios employee
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: New users not recieving email alerts/notifications

Post by benningtonr »

I had read this before and this line is why I did not think a user was needed.
__________________________________________________________________________________________________________
Contacts are definitions in Nagios Core that are normally used for directing host and service alerts to specific individuals.
While it isn't necessary for contacts to have a relationship with a user, they most often do in order to ensure the user can use
the Nagios XI web interface.
----------------------------------------------------------------------------------------------------------------------------------------------------

He doesn't need to access nagios for any reason, i just wanted him to know his server had an issue. I have created a user with the same user/contact name and email.
I sent a test message, I will report back if it is not recieved again,
Thank you for your assistance.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: New users not recieving email alerts/notifications

Post by tmcdonald »

While it isn't strictly necessary, it is useful. Notification commands will need to be different if you are using a user vs just a contact. Most contacts only have simply sendmail notifications, which often get caught in spam filters, so we use SMTP with users more often than not. If he doesn't need access to the interface, I would still create a user + contact and just not tell him the password :) Or make it read-only.
Former Nagios employee
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: New users not recieving email alerts/notifications

Post by benningtonr »

He recieved the test email, so we are good to go, I thank you for your support.
Great Job, I am glad it was an easy fix.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: New users not recieving email alerts/notifications

Post by tmcdonald »

Great to hear, and you are quite welcome!

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked