Page 1 of 1

No matching services found - after reboot

Posted: Mon Mar 25, 2013 11:24 am
by willt1615
I have nagiosxi on a dedicated server running within a hyper v cluster. Here are some stats:
Centos 6 i686
disk usage is currently at 47%
nagiosxi 2011R1.9

Everything was running fine until my hyperv cluster had a problem, and the nagiosxi server was powered down. When it was brought back online, I can see all of the hosts via the host detail screen, but when i click on service detail, it says No matching services found.

If i log into the nagios core, I can see the services. It still checks the services as I have got notifications about a few, but the xi interface doesn't seem to see them.
When there is a service issue, the service status summary shows the red box with the number, but clicking it brings up the no matching services found as well.

The permissions on the nagios scrips and configurations appear to be correct according to the "Check file permissions" withing the admin page.
I have rebooted the server cleanly since, and stopped/restarted nagios services and httpd.

Am I missing something here?

Re: No matching services found - after reboot

Posted: Mon Mar 25, 2013 11:46 am
by willt1615
I have found the problem... I attempted to run the backup script to backup the settings and go an error:
mysqldump: Got error: 145: Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired when using LOCK TABLES

so i ran
/usr/local/nagiosxi/scripts/repairmysql.sh nagios nagios_servicestatus
to repair the service table, and when it completed, all was well.

Re: No matching services found - after reboot

Posted: Mon Mar 25, 2013 11:49 am
by mguthrie
Good deal, glad it's working again!