Email Notifications
Email Notifications
So I originally setup a Contact & Contact Group which was supposed to email a distribution group. However, I wasn't getting any emails sent to this distribution group. I then setup the user under admin/users and then I started getting emails. I noticed that I only had sendmail turned on now and I think that's why I wasn't getting emails before with just the Contact and the Contact int the Contact Group? If I switched it to smtp would that work w/o adding them to the Admin/Users area?
Thanks!
Thanks!
Re: Email Notifications
Can you clarify - emails were not being sent by nagios or not being received?However, I wasn't getting any emails sent to this distribution group.
Go Reports->Notifications and show us a screenshot of this page.
Do you see any errors in the maillog?
Code: Select all
tail -100 /var/log/maillogBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Email Notifications
They didn't show up in my inbox. I am not sure how far it got in sending them.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Email Notifications
Can you please provide this information:
lmiltchev wrote:Go Reports->Notifications and show us a screenshot of this page.
Do you see any errors in the maillog?
Code: Select all
tail -100 /var/log/maillog
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Email Notifications
Lets just stick with the generic question can with SMTP or Sendmail can you just have a contact in Configure/Contact and have it email you? Or do you have to have a User account in Admin/Users as well ?
Thanks!
Thanks!
Re: Email Notifications
If you want to use SMTP you need to have both a contact and associated XI User, otherwise you'll need to configure all the SMTP handling yourself through a custom script or a daemon (which we would not be able to provide support for).
If you want to use Sendmail, you can either use a contact or a contact+User, it all depends on the notification command you have assigned.
If you want to use Sendmail, you can either use a contact or a contact+User, it all depends on the notification command you have assigned.
Former Nagios employee
Re: Email Notifications
Ok. How would I check the notification command ? I'd rather not do a bunch of XI users for a lot of this "distribution type groups"
Re: Email Notifications
Under Configure -> Core Config Manager -> Contacts, you edit the contact and click the "Manage Host Notification Commands" and "Manage Service Notification Commands" buttons.
Former Nagios employee
Re: Email Notifications
Ok, I don't see one there specified currently. Which would would I assign?
Thanks!
Thanks!
Re: Email Notifications
That depends on a few factors. If you are just trying to use a contact with no associated user, you will probably want the notify-host-by-email and notify-service-by-email commands as they use Sendmail.
Former Nagios employee