All Host on NagiosXI disappeared_grayed out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venturegardengroup
Posts: 62
Joined: Tue Jun 28, 2016 10:11 am

All Host on NagiosXI disappeared_grayed out

Post by venturegardengroup »

Hello Support,

The hosts configured on my NagiosXI suddenly are not appearing and my console page is grayed out. I still get status notifications about them on my email though. Find attached a screen shot of the nagiosxi landing page with specific reference to the SQL error message being displayed:

SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_hoststatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_hoststatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_hoststatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_hoststatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_hoststatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_hoststatus' SQL: SQL Error [ndoutils] : Incorrect file format 'nagios_hoststatus'[/b][/i][/b][/i][/u]
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: All Host on NagiosXI disappeared_grayed out

Post by rkennedy »

You'll want to repair the database with the following script.

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
If you persist to see the Incorrect file format error, then following the remaining instructions on this guide - https://assets.nagios.com/downloads/nag ... tabase.pdf - that mentions -

Code: Select all

If you receive an error, similar to this one:
Error : Incorrect file format 'nagios_systemcommands'
error : Corrupt
you will need to execute the following command to fix the table:
Former Nagios Employee
venturegardengroup
Posts: 62
Joined: Tue Jun 28, 2016 10:11 am

Re: All Host on NagiosXI disappeared_grayed out

Post by venturegardengroup »

Hello,

Thanks for the support, I was able to restore with an earlier backup and all was working fine. Thanks.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: All Host on NagiosXI disappeared_grayed out

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked