Hi,
I've cloned our Nagios VM machine to a backup site and have started it up only to find the status screens showing 0 in all aspects.
The DB seems in tact as I can see all of the hosts and services in the Configuration Manager.
I can also see the monitoring engine is working from the Event Log.
What can be the issue and how can I get back everything to show?
Thanks.
Empty status screens on a cloned instance
Empty status screens on a cloned instance
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Empty status screens on a cloned instance
Make sure that you have done the following:
If you still have the /tmp/nagiosxi install directory do the following:
If you have already deleted the /tmp/nagiosxi install directory do the following:
And then lets run the reset permissions script to be sure:
http://assets.nagios.com/downloads/nagi ... ssions.pdf
If you still have the /tmp/nagiosxi install directory do the following:
Code: Select all
cd /tmp/nagiosxi
rm -f installed.subcomponents
./A-subcomponents
./build-perms-binCode: Select all
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/xi-2011-latest.tar.gz
tar xzf xi-2011-latest.tar.gz
cd /tmp/nagiosxi
touch installed.mrtg
./A-subcomponents
./build-perms-binhttp://assets.nagios.com/downloads/nagi ... ssions.pdf
Re: Empty status screens on a cloned instance
Hi,
I followed the steps but it didn't help.
I think I'll just try to take another snapshot of the machine.
I followed the steps but it didn't help.
I think I'll just try to take another snapshot of the machine.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Empty status screens on a cloned instance
This is actually likely DB corruption, run
Code: Select all
/usr/local/nagiosxi/scripts/repairmysql.sh nagios
service ndo2bd restartRe: Empty status screens on a cloned instance
Nice, that worked! (with service ndo2db restart)
Cheers
Cheers