Page 1 of 1

No Notification being sent even after threshold breach

Posted: Fri Jun 27, 2014 9:59 am
by RIDS_I2MP
Hi Team,

We have recently build a Nagios XI instance recently for our client and during the build we have disabled the contact as we didnt want them to receive false alerts while initial configuration. We have just finished the first phase of our implementation and have activated the contacts, surprisingly nagios is not sending any notification even when there is threshold breach. I have created a dummy critical to check the same, after the threshold breach also, under advanced tab- the last notification attribute says 'Never'. I have tried to send a custom alert for this service and it went out successfully. An interseting thing to note is before I have enabled the notifications for other contacts I (Nagios admin) used to receive emails for breach of threshold for local parameters, now I'm not even receiving that. Please help

PS: we are planning to move this paltform to production next week, a quick response is very much appreciated.

Re: No Notification being sent even after threshold breach

Posted: Fri Jun 27, 2014 10:09 am
by tmcdonald
Let's confirm a few things:

What version of XI are you running and on what OS+version?
If you click your username and go to Notification Preferences, is the Enable Notifications box checked?
Did Nagios send notifications before or did you not check?
How did you send the custom alert that did work?
What is the contact set to receive alerts for?
How did you initially disable the contact?

Re: No Notification being sent even after threshold breach

Posted: Fri Jun 27, 2014 10:40 am
by RIDS_I2MP
What version of XI are you running and on what OS+version?
Nagios XI 2014 R1.0 and CentOS 6.4

If you click your username and go to Notification Preferences, is the Enable Notifications box checked?
Yes, that box is enabled

Did Nagios send notifications before or did you not check?
I belive nagios did, because when we initially started configuring new parameters, nagios has send out email to our technical teams (they are the contact for a service), thats the reason why we have disabled the notifications.

How did you send the custom alert that did work?
I have send the custome alert using the 'send Custom alert' option under advanced tab of a service, It did work - all the contacts assigned to that service confirm that they have recieved the email and also, I can see them in the notifications report

What is the contact set to receive alerts for?
if you are asking if it is jus a contact or a User, then its the user and I can confirm that all the user have the host_notification_commands as 'notify-host-by-email' and service_notification_commands as 'notify-service-by-email'

How did you initially disable the contact?
we have gone to the alerts settings tab of each contact and turned off the 'Host Notifications Enabled' and 'Service Notifications Enabled' options

I'm attching the log for the command: tail -50 /var/log/maillog
tail_log.txt

Re: No Notification being sent even after threshold breach

Posted: Fri Jun 27, 2014 12:21 pm
by lmiltchev
if you are asking if it is jus a contact or a User, then its the user and I can confirm that all the user have the host_notification_commands as 'notify-host-by-email' and service_notification_commands as 'notify-service-by-email'
Actually, the 'notify-host-by-email' and 'notify-service-by-email' are notification handlers for contacts only, not for xi users (who are also contacts). The "default" notification handlers for users are "xi_host_notification_handler" and "xi_service_notification_handler".
Check this out: http://assets.nagios.com/downloads/nagi ... ations.pdf

In any case, it would be easier to troubleshoot the issue if you opened a new support ticket in our system. Please, email us the profile.zip file (Admin->System Profile->Download Profile) at [email protected].