Email Notifications Not Sending for User..

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hul1
Posts: 50
Joined: Mon Jan 14, 2019 12:58 pm

Email Notifications Not Sending for User..

Post by hul1 »

Hi I'm having issues with not receiving any email notification for a mysql service alert.
The service is set to alert based off contact group, but all the other users are receiving emails except my account.
I checked the mail log and didn't see any email from Nagios going out to my account.
I also verified from the user account that notifications are enabled and ran a manual send test that worked fine.

Do you have any idea what would be the cause for not receiving email alerts from Nagios while everyone else does?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Email Notifications Not Sending for User..

Post by tgriep »

If you go to the Reports > Notification menu and run a report, do you see the entry for the user account showing that the Nagios Process tried to send the notification?

Did you edit the account and or login as the user to verify that all of the settings are enabled for all of the notification features?

To check this, you will have to login as the user and click on the user name in the top right of the window.
On the left menu, go to the Notification Preferences and the Notification Methods menu and make sure the settings are correct and update the settings if any changes are done.
Be sure to check out our Knowledgebase for helpful articles and solutions!
hul1
Posts: 50
Joined: Mon Jan 14, 2019 12:58 pm

Re: Email Notifications Not Sending for User..

Post by hul1 »

I don't see any email notifications for myself during just that period. I actually received emails now so not sure what happened.
I can show you below this is my account, there's a block without notifications on 9/24
Screen Shot 2019-09-25 at 8.52.13 AM.png
Here is another user in the same contact group that received all the emails.
Screen Shot 2019-09-25 at 8.52.16 AM.png
I'm just trying to set up now in the notification settings management a lock notification preference for all users to receive email notification for all types. Do you have any idea why it's complaining about the following?

Code: Select all

hul1e does not have a valid timeperiod for deployment. The timeperiod will have to be configured from the Core Config Manager.
Preferences for hul1e deployed successfully!
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Email Notifications Not Sending for User..

Post by tgriep »

The timeperiod message is caused by a missing or an invalid timeperiod setup for that contact account.
To fix it, go to the Core Config Manager > Contacts menu and edit that contact. Go to the Alert Settings menu and validate that the Host Notifications and the Service Notifications Timeperiod is filled in. If not, add them.

The following documents has details on how to Configure Email And Text Notifications.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
You can use that for reference.

The missing emails from 9:28 and earlier is unknown. If you or someone was changing your account, that could be it but without being live on the system at that time, it is only a guess why they were not sent. It could be the Timeperiod issue from above though.
Be sure to check out our Knowledgebase for helpful articles and solutions!
hul1
Posts: 50
Joined: Mon Jan 14, 2019 12:58 pm

Re: Email Notifications Not Sending for User..

Post by hul1 »

Thanks I will check.

I have the host notification timeperiod set for the contact, does something look wrong in this configuration?
Screen Shot 2019-09-25 at 10.13.55 AM.png
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Email Notifications Not Sending for User..

Post by tgriep »

The contact settings for the Timeperiod look OK but it could be the timeperiod itself so go to the Core Config Manager > Time Periods menu and check the 24x7 timeperiod's settings.

If they look good and you are still receiving the message
hul1e does not have a valid timeperiod for deployment. The timeperiod will have to be configured from the Core Config Manager.
Preferences for hul1e deployed successfully!
Get a System Profile from the server and upload it to the forum post so we can check the settings for the contact, etc...
To get your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to the forum post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
hul1
Posts: 50
Joined: Mon Jan 14, 2019 12:58 pm

Re: Email Notifications Not Sending for User..

Post by hul1 »

When I try to download a system profile it fails with the message below:

Code: Select all

PROFILE BUILD FAILED
Array
(
)
CODE: 1
I can view it but not download, is this issue happening for anyone else?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Email Notifications Not Sending for User..

Post by tgriep »

The profile build failure is a usually a sudoers issue with missing settings and this article has the instructions for fixing that.
https://support.nagios.com/kb/article/n ... d-533.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
hul1
Posts: 50
Joined: Mon Jan 14, 2019 12:58 pm

Re: Email Notifications Not Sending for User..

Post by hul1 »

Okay thanks that fixed it. I will PM you the profile.zip file.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Email Notifications Not Sending for User..

Post by tgriep »

Thanks for the profile, I did receive it.
I checked through some of the contacts and I see some inconsistent settings for them.
Some contacts have Notification Time Periods set, some do not and some have mixed settings for the Host and Service timeperiods.

I would go through the contacts and verify that the are set up and have Timeperiods assigned.

For the Hul1e contact, edit it and set the Timeperiods to xi_timeperiod_24x7 for both the Host and Service Notifications.

Then see if the notifications are send when you expect them to be sent.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked