NagiosXI dont mail out notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Kbergros
Posts: 2
Joined: Sat Nov 02, 2013 2:39 am

NagiosXI dont mail out notifications

Post by Kbergros »

Hi

We had a problem this morning that Nagios ran out of disk, we fixed that but after that Nagios dont sent out mail.
Everything look OK in Nagios, and it writes out that it sends notifications, if try to send a test mail from Nagios it works but not the notification mail what can be the cause?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NagiosXI dont mail out notifications

Post by cdienger »

You'll want to run the repair script as outlined in https://assets.nagios.com/downloads/nag ... tabase.pdf to correct any corruption that may have been caused by running out of space.

It would also be good to do a restart of everything to make sure there are no hanging processes or locks:

You ***must*** use mariadb instead of mysqld in the commands below ***if*** you have mariadb.

service nagios stop
service ndo2db stop
service mysqld stop
service crond stop
service httpd stop
killall -9 nagios
killall -9 ndo2db
rm -f /usr/local/nagios/var/rw/nagios.cmd
rm -f /usr/local/nagios/var/nagios.lock
rm -f /usr/local/nagios/var/ndo.sock
rm -f /usr/local/nagios/var/ndo2db.lock
rm -f /usr/local/nagiosxi/var/reconfigure_nagios.lock
for i in `ipcs -q | grep nagios |awk '{print $2}'`; do ipcrm -q $i; done
service mysqld start
service ndo2db start
service nagios start
service httpd start
service crond start
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
maoreyes76
Posts: 11
Joined: Wed Jan 27, 2016 3:59 am

Re: NagiosXI dont mail out notifications

Post by maoreyes76 »

Hi ...

Thank you, now i to works again:)
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NagiosXI dont mail out notifications

Post by cdienger »

Glad to hear :) !
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked