Page 1 of 1

Lost all service data in Nagios?

Posted: Fri May 18, 2012 9:35 am
by Markq
I wonder what has happened to our Nagios XI. Suddenly all service disappeared from the minemap.
I have had to change the ip address and date and reboot the server several times, could that be the reason and what's the easiest way to get the minemap back?

Also, when I go to Service Detail view, it says "No matching services found"
But when I go to Nagios Core I can see the services listed there.



thanks
Mark

Re: Lost all service data in Nagios?

Posted: Fri May 18, 2012 10:35 am
by scottwilkerson
This is likely a problem with the database, run the following

Code: Select all

/usr/local/nagiosxi/scripts/repairmysql.sh nagios
/usr/local/nagiosxi/scripts/repairmysql.sh nagiosql

Re: Lost all service data in Nagios?

Posted: Sat May 19, 2012 4:00 pm
by Markq
That helped, thanks!