We're locked into using XI 5.5.2 for this particular customer, and we built some configuration in Core for them. Then they decided they wanted them in XI. So we reconfigured everything to be import-friendly for XI (drop one file into ../etc/import and off you go). The import works great. The Nagios Core engine sees the 16 new hosts and 2000 new services. They're in CCM. But Nagios XI doesn't show them at all on its screens, nor does it think there's any hosts other than localhost and default services:
Nagiostsats output:
Code: Select all
Nagios Stats 4.4.1
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 2018-06-25
License: GPL
CURRENT STATUS DATA
------------------------------------------------------
Status File: /usr/local/nagios/var/status.dat
Status File Age: 0d 0h 0m 2s
Status File Version: 4.4.1
Program Running Time: 0d 0h 1m 3s
Nagios PID: 17623
Total Services: 1996
Services Checked: 1612
Services Scheduled: 1996
Services Actively Checked: 1996
Services Passively Checked: 0
[snip]
Services Ok/Warn/Unk/Crit: 1664 / 0 / 248 / 84
Services Flapping: 0
Services In Downtime: 0
Total Hosts: 17
Hosts Checked: 1
Hosts Scheduled: 17
Hosts Actively Checked: 17
Host Passively Checked: 0
[snip]
Hosts Up/Down/Unreach: 17 / 0 / 0
Hosts Flapping: 0
Hosts In Downtime: 0
Code: Select all
# echo 'select count(*) from nagios.nagios_hosts;' | mysql -s -pnagiosxi
1
# echo 'select count(*) from nagios.nagios_services;' | mysql -s -pnagiosxi
12