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?
NagiosXI dont mail out notifications
Re: NagiosXI dont mail out notifications
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
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.
-
- Posts: 11
- Joined: Wed Jan 27, 2016 3:59 am
Re: NagiosXI dont mail out notifications
Hi ...
Thank you, now i to works again:)
Thank you, now i to works again:)
Re: NagiosXI dont mail out notifications
Glad to hear !
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.