Nagios checks are not happening and Process state stopped
Also in a off loaded Mysql environment getting below error on nagios.log . Mysql test database is fine
[1582137593] ndomod: Successfully reconnected to data sink! 914 items lost, 5000 queued items to flush.
[1582137593] ndomod: Error writing to data sink! Some output may get lost. 4844 queued items to flush.
Please help
Nagios XI Process State Stopped
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Nagios XI Process State Stopped
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Process State Stopped
The first thing I'd suggest doing is to validate your config, then restart all of Nagios.
If that goes well, then restart:
It wasn't clear from the way your original question was written if you're talking about two separate Nagios environments or not.
If the system that has stopped has an offloaded DB, then you won't want to restart mysql on that system, but apart from that, please try the above.
Let us know what happens!
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Code: Select all
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
If the system that has stopped has an offloaded DB, then you won't want to restart mysql on that system, but apart from that, please try the above.
Let us know what happens!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI Process State Stopped
Thanks for the support ..
We found some how the ndo2db.cfg got changed and did not point to offloaded Mysql server .
You can close the ticket
We found some how the ndo2db.cfg got changed and did not point to offloaded Mysql server .
You can close the ticket
Re: Nagios XI Process State Stopped
Glad you were able to solve your problem!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!