Empty status screens on a cloned instance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cellact
Posts: 69
Joined: Mon May 14, 2012 7:00 am

Empty status screens on a cloned instance

Post by cellact »

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.
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

Post by slansing »

Make sure that you have done the following:


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-bin
If you have already deleted the /tmp/nagiosxi install directory do the following:

Code: 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-bin
And then lets run the reset permissions script to be sure:

http://assets.nagios.com/downloads/nagi ... ssions.pdf
cellact
Posts: 69
Joined: Mon May 14, 2012 7:00 am

Re: Empty status screens on a cloned instance

Post by cellact »

Hi,
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

Post by scottwilkerson »

This is actually likely DB corruption, run

Code: Select all

/usr/local/nagiosxi/scripts/repairmysql.sh nagios
service ndo2bd restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
cellact
Posts: 69
Joined: Mon May 14, 2012 7:00 am

Re: Empty status screens on a cloned instance

Post by cellact »

Nice, that worked! (with service ndo2db restart)

Cheers
Locked