Page 1 of 1

notifications for user account

Posted: Fri Jan 29, 2016 6:44 pm
by albertaarts
Trying to get ramped up quickly with Nagios XI. I have the notifications I want going out properly to the admin account (my email address) but I'm having trouble getting them to go out to the email address i setup on a second account. It seems like all settings are the same for both accounts and in the hosts I'm testing with. I am still in a trial period if that matters. I'm trying to figure things out for myself but I'm stuck with this one. Thanks in advance.

Re: notifications for user account

Posted: Mon Feb 01, 2016 10:19 am
by rkennedy
This could be a few different things.
- Have you set up the second email address as a contact or a user?
- Are you using sendmail or SMTP?
- Can you post the host definition for us to look at?

Re: notifications for user account

Posted: Tue Feb 02, 2016 8:33 pm
by albertaarts
Yes, the second email address was a second test user that i added.

I am using sendmail but i think i tested with smtp as well.

I'm not sure what you mean by the "host definition". Thanks in advance.

Re: notifications for user account

Posted: Wed Feb 03, 2016 10:34 am
by lmiltchev
I would recommend reviewing the document listed below and making sure that the contact is configured properly.

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Here's some additional basic troubleshooting steps:

https://support.nagios.com/wiki/index.p ... n_Problems

If you are still having issues, show us the contact's configs.

Configure->Core Config Manager->Contacts->Click on the "View Text Config" actions button (the diskette icon)

If this contact is added to a host/service, show us these configs as well.

Configure->Core Config Manager->Hosts (or Services)->Click on the "View Text Config" actions button (the diskette icon)

Re: notifications for user account

Posted: Wed Feb 03, 2016 10:49 am
by albertaarts
Thank you. I will investigate.

Re: notifications for user account

Posted: Wed Feb 03, 2016 11:13 am
by hsmith
Let us know what you come up with. Thank you.

Re: notifications for user account

Posted: Mon Feb 08, 2016 8:35 pm
by albertaarts
i've read through the recommended documentation and have verified that i have contacts and users with the same name. in "notifications" under "incident management" the system is generating notifications to go out to 2 other accounts i have created aside from the nagiosadmin. one is my gmail address and the other is my sms to email address [email protected]. These both test fine from the nagios platform but I still have yet to receive a non-test, actual notification to these email addresses. I am attaching host and contact config extracts.

thanks in advance

dave

Re: notifications for user account

Posted: Tue Feb 09, 2016 12:48 am
by rkennedy
Can you also post a tail of your /var/log/maillog? (assuming you're using sendmail)

Code: Select all

tail -n200 /var/log/maillog