Page 1 of 2
Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 11:50 am
by rbuckle
So if i choose send test, i received the alerts in both my phone and email.
I made sure that Alerts was enabled for my account and that the device should be alerting... i just get nothing... Nagios itself say that the device is down and critical, it just stopped sending them out one day this week?
Any Thoughts?
Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 11:52 am
by tmcdonald
If you go to Home -> Notifications and search for that host, does anything show up? You might need to adjust the time period settings to search back a bit.
Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 11:59 am
by rbuckle
There is a list of 4,585 records that i didn't receive lol. (well 300/400 I should have received since the notifications were turned back on) and yes i was receiving notifications when i first turned them back on.
Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 12:57 pm
by lmiltchev
Are you using Sendmail or SMTP? Who is not receiving notifications - nagiosadmin, another xi user, "contact only", no one?
Have you reviewed our notification troubleshooting tips on the Nagios Support Knowledgebase?
https://support.nagios.com/kb/article.php?id=36
Do you see any errors/bounced emails in the mail log?
Code: Select all
tail -100 /var/log/maillog
tail -100 /usr/local/nagiosxi/tmp/phpmailer.log
Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 1:28 pm
by rbuckle
Nagiosadmin is an unused account, i have a separate account setup and none of the accounts are receiving the notifications.
I am using smtp via my companies email server, i have checked its mailbox and there is nothing in the email box regarding Nagios.
The send email and send text and all of the manual stuff seems to work and the notifications are received, but acknowledgements and alerts do not.
I am indeed baffled.
Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 1:36 pm
by rkennedy
Looks like we'll have to do some digging. A couple things -
- For reference, can you post a screenshot of your Mange Email Settings page?
- Are you able to see any kind of logs on the SMTP server that show if XI has been sending the emails through there?
Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 1:40 pm
by rbuckle
It seems to work fine, clicking on Test and the email is received.

Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 1:44 pm
by rbuckle
The attach file might help you debug some of my issues
https://dl.dropboxusercontent.com/u/710 ... agios/root
Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 1:47 pm
by rkennedy
Just had to verify. Thanks for that. Let's go ahead and make change to your xi_host_notification_handler and xi_service_notification_handler command, we're going to have it output to /tmp/notif.txt
To the end of both commands, add the following -
Then apply configuration.
Let it run for a bit of time so that the logs can generate, and post it back here.
I've attached a screenshot as an example as well.
Re: Nagios XI not Actually Sending Notifications
Posted: Fri Mar 11, 2016 2:39 pm
by rbuckle
o entry for terminal type "unknown";
using dumb terminal settings.
SQL: SQL Error [nagiosxi] :</b> Table './nagiosxi/xi_events' is marked as crashed and should be repaired