Nagios XI Process State Stopped

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
biswajit.banerjee
Posts: 152
Joined: Fri Dec 08, 2017 10:24 pm

Nagios XI Process State Stopped

Post by biswajit.banerjee »

Nagios checks are not happening and Process state stopped
Capture-10.PNG
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
You do not have the required permissions to view the files attached to this post.
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: Nagios XI Process State Stopped

Post by jdunitz »

The first thing I'd suggest doing is to validate your config, then restart all of Nagios.

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
If that goes well, then restart:

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
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!
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!
biswajit.banerjee
Posts: 152
Joined: Fri Dec 08, 2017 10:24 pm

Re: Nagios XI Process State Stopped

Post by biswajit.banerjee »

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
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: Nagios XI Process State Stopped

Post by jdunitz »

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!
Locked