Page 1 of 1

NagiosXI email notification

Posted: Sun Jul 15, 2018 10:52 pm
by Gonela
Hi Team,

Email notification is not working if i a create contact in CCM--> Alerting---> contacts.

and if i a create user from Admin --> Manage users.then it's working email notifications .

May i know the different between creation of user contact from users list and contacts in alerting .

Test notifications is also working.

NagiosXI version - 5.5.1

Re: NagiosXI email notification

Posted: Mon Jul 16, 2018 9:59 am
by lmiltchev
Did you select the "notify-host-by-email" and "notify-service-by-email" notification handlers for your contacts? Please read our official documentation on how to configure email and text notifications here:

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

Let us know if this helped.

Re: NagiosXI email notification

Posted: Mon Jul 16, 2018 10:17 pm
by Gonela
yes, we selected , notification commands

Re: NagiosXI email notification

Posted: Tue Jul 17, 2018 8:43 am
by mcapra
Gonela wrote:May i know the different between creation of user contact from users list and contacts in alerting .
This document covers that:
https://assets.nagios.com/downloads/nag ... ntacts.pdf

Essentially, if you want your Nagios XI user to be able to receive notifications, it needs a corresponding contact defined. When creating a user, the "Create as Monitoring Contact" checkbox option usually takes care of this.

Re: NagiosXI email notification

Posted: Tue Jul 17, 2018 9:06 am
by lmiltchev
Thanks @mcapra!

@Gonela, are the notifications not received by the contact or not sent at all? Do you see them in the Notifications report?

Have you checked the mailog?

Code: Select all

tail -100 /var/log/maillog   # If you are using sendmail/postfix
tail -100 /usr/local/nagiosxi/tmp/phpmailer.log   # If you are using SMTP