Not receive email alert on Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
z.yong
Posts: 3
Joined: Sun Sep 17, 2017 7:34 pm

Not receive email alert on Nagios XI

Post by z.yong »

Hi there,

I just did my first time try on Nagios XI. I am able to add multiple hosts and explore/edit most options. However, the most important feature Notifications doesn't work in my installation.

What I have now:
1. in Admin-->Manage Email Settings, I can receive test emails.
2. In Configure Host--> Notifications, I set send a notification immediately and send to myself.
3. In My account --> Notification Preferences, I set Enable notifications and checked both email and sms notification. and checked most of alerts. I can receive test notifications.
4. In System Settings--> Send Notification, it was set checked by default. I didn't touch it.

So which part I missed? It's a brand-new installation. How do I know the system tried to send notice or not. I do see multiple Host offline in Latest alerts. but I never receive a single notifications.

It seems to me complicated on this part when it doesn't work.

Thanks in advance.
kyang

Re: Not receive email alert on Nagios XI

Post by kyang »

Hi @z.yong,

Have you looked at our documentation on configuring email and SMS?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Also you could take a look at our kb article on notification problems.
https://support.nagios.com/kb/article.php?id=36

Take a look at these, and let me know how it goes.
z.yong
Posts: 3
Joined: Sun Sep 17, 2017 7:34 pm

Re: Not receive email alert on Nagios XI

Post by z.yong »

kyang wrote:Hi @z.yong,

Have you looked at our documentation on configuring email and SMS?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Also you could take a look at our kb article on notification problems.
https://support.nagios.com/kb/article.php?id=36

Take a look at these, and let me know how it goes.
Thanks for the reply. sorry for the delay. I did check the article and I cannot find the cause. Please share more hints if any.

I checked phpmailer.log. there is only log for my test email. nothing else.

Here is the log in notifications.

2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Nagios XI Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: xi_service_event_handler Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Nagios XI Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: xi_host_event_handler Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: process-service-perfdata-pnp-normal Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: process-service-perfdata-file-pnp-bulk Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: process-service-perfdata-file-bulk Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: process-host-perfdata-pnp-normal Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: process-host-perfdata-file-pnp-bulk Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: process-host-perfdata-file-bulk Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: notify-service-by-email Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: notify-host-by-email Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: check_none Name or service not known
2017-09-25 22:07:14 192.168.33.251 HTTP No CRITICAL nagiosadmin Custom: check-host-alive-tftp Name or service not known

what else should I check?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Not receive email alert on Nagios XI

Post by npolovenko »

@z.yong Hi Z.Yong, Did you enable "Recieve alerts via email" in In My account --> Notification Methods? Also, can you make sure that your contact has the right email in Configure > Core Config Manager > Alerting > Contacts?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kyang

Re: Not receive email alert on Nagios XI

Post by kyang »

You should also check your which contact template you are using.

Located in the Configure --> Core Config Manager --> under alerting tab --> Contacts --> Common Settings --> Manage Contact Templates --> tell us which template, either (xi_contact_generic OR generic-contact)

In that same location go to --> Alerting settings --> Manage Host Notification Commands and Manage Service Notification Commands--> tell us which one you have in there if any.
Locked