Nagios XI Vm Issue
Nagios XI Vm Issue
Hello I have been using nagios xi to monitor some servers, and today I booted up the vm and noticed that the IP it was using had changed. So, I edited the ip on the web browser link to match the vm and when it loaded all of the servers I had configured were gone, but the admin logins I made were still there. It also says this 7 times on the home screen. "SQL Error [ndoutils] : Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired". Is there somewhere that says how I should repair this or how to retrieve my old configurations?
Re: Nagios XI Vm Issue
Two points:
1.) How are you powering off the VM? It sounds like you might just be hitting the "Power Off" button in your virtualization software. That would cause the "marked as crashed" messages. Using that button is like pulling the power cord out of a running physical server, and is all sorts of bad. Much better is to log in to the server and run shutdown -h now as the root user. This will ensure a proper shutdown procedure.
As for fixing that message, please follow our documentation: https://assets.nagios.com/downloads/nag ... tabase.pdf
2.) Your IP address is likely changing because it is set to receive a DHCP address on boot, so you will want to set the IP as static. This guide should help: http://www.mustbegeek.com/configure-sta ... in-centos/
1.) How are you powering off the VM? It sounds like you might just be hitting the "Power Off" button in your virtualization software. That would cause the "marked as crashed" messages. Using that button is like pulling the power cord out of a running physical server, and is all sorts of bad. Much better is to log in to the server and run shutdown -h now as the root user. This will ensure a proper shutdown procedure.
As for fixing that message, please follow our documentation: https://assets.nagios.com/downloads/nag ... tabase.pdf
2.) Your IP address is likely changing because it is set to receive a DHCP address on boot, so you will want to set the IP as static. This guide should help: http://www.mustbegeek.com/configure-sta ... in-centos/
Former Nagios employee