New users not recieving email alerts/notifications
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
New users not recieving email alerts/notifications
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.
Re: New users not recieving email alerts/notifications
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?
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
I created a contact but not a user, do I need to have both?
Re: New users not recieving email alerts/notifications
In most cases yes: https://assets.nagios.com/downloads/nag ... ntacts.pdf
Former Nagios employee
-
benningtonr
- Posts: 524
- Joined: Tue May 22, 2012 2:16 pm
Re: New users not recieving email alerts/notifications
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.
__________________________________________________________________________________________________________
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.
Re: New users not recieving email alerts/notifications
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
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.
Great Job, I am glad it was an easy fix.
Re: New users not recieving email alerts/notifications
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!
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee