Page 1 of 1

Missing Hosts after restore

Posted: Tue Nov 19, 2024 2:13 pm
by steph007
Hi,

I have installed a new CentOS 9 stream for migrating my old CentOS 7.
Config on CentOS 7:
I'm using NDO2
513 Hosts
6307 Services
Nagios 2024R1.1.5

On a CentOs 9 new installed server, I have done this:
Manual install
restore_xi.sh
restore_repair.sh
Cannot find the NDO2, so, on the new system, I switch to NDO3 (not sure if I will have issues like in the past, but for now, I did that just for testing the restore process)

On the new system, all look good when I check the System Status and Monitoring Engine Status. and when I go on Core Config Manager, I can see all my Hosts and Services. But, on the Operation Center, or any other view, I don't see any status for Hosts or Services, it's 0 for Hosts dans 0 for Services!
Did I forget something?

Re: Missing Hosts after restore

Posted: Tue Nov 19, 2024 4:40 pm
by gwesterman
Try running this script if you haven't yet:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
Let us know if that works or not.

Thank you!

Re: Missing Hosts after restore

Posted: Tue Nov 19, 2024 5:03 pm
by kg2857
If the objects are in CCM, apply the config.

Re: Missing Hosts after restore

Posted: Thu Jan 09, 2025 1:14 pm
by steph007
You can lock this post