New Install of Nagios XI 2026R1.4 missing hosts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
matson-itops
Posts: 141
Joined: Wed Nov 18, 2015 11:19 pm

Re: New Install of Nagios XI 2026R1.4 missing hosts

Post by matson-itops »

thanks kfanselow

here is the output. No change after "reconfigure nagios"

grep "^broker" /usr/local/nagios/etc/nagios.cfg
broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg

systemctl status nagios
● nagios.service - Nagios Core 4.5.12
Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled; preset: disabled)
Active: active (running) since Wed 2026-04-29 09:58:10 PDT; 2h 29min ago
Docs: https://www.nagios.org/documentation
Process: 889561 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=0/SUCCESS)
Process: 889562 ExecStart=/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg (code=exited, status=0/SUCCESS)
Main PID: 889563 (nagios)
Tasks: 6 (limit: 47244)
Memory: 26.3M (peak: 31.5M)
CPU: 8.420s
CGroup: /system.slice/nagios.service
├─889563 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
├─889564 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─889565 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─889566 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─889567 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
└─889568 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
matson-itops
Posts: 141
Joined: Wed Nov 18, 2015 11:19 pm

Re: New Install of Nagios XI 2026R1.4 missing hosts

Post by matson-itops »

DoubleDoubleA wrote: Wed Apr 29, 2026 12:25 pm NDO3 is required, it is surprising it was not installed. We don't ship NDO2 these days.

Do you have access to install.log? In any case, NDO3 in a NEB module, it should have compiled and loaded when the monitoring engine started.

What version of XI are you coming from?
fresh install of nagisoxi 2026 R1.4

NDO said ok but no service is found...... not finding ndo3 /nodutils service on the fresh server.

Details :

cd src/ && make ndo.so
make[1]: Entering directory '/home/nagios/nagiosxi/subcomponents/ndo/ndo-3.1.1/src'
gcc -fPIC -shared -g -O2 -I/usr/include/mysql -m64 ndo.c -o ndo.so -L/usr/lib64/mysql -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -pthread
ndo.c:155:12: warning: ‘database_instance_id’ initialized and declared ‘extern’
155 | extern int database_instance_id = 1;
| ^~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/nagios/nagiosxi/subcomponents/ndo/ndo-3.1.1/src'
cd src/ && make ndo.so
make[1]: Entering directory '/home/nagios/nagiosxi/subcomponents/ndo/ndo-3.1.1/src'
make[1]: 'ndo.so' is up to date.
make[1]: Leaving directory '/home/nagios/nagiosxi/subcomponents/ndo/ndo-3.1.1/src'
/usr/bin/install -c -m 774 -o nagios -g nagios src/ndo.so /usr/local/nagios/bin/ndo.so
Shared module ndo.so installed
/usr/local/nagios/etc/nagios.cfg configured to use NDO
INSTALL: POST-INSTALL: Starting NDO post install...
NOTE: If prompted, enter the MySQL root password
mysql: [Warning] Using a password on the command line interface can be insecure.
Performing install...
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure.
Database installation is complete!
INSTALL: POST-INSTALL: NDO post installed OK.
NOTE: If prompted, enter the MySQL root password
NDO database appears OK
NDO installed OK
Subcomponent 'ndo' installed OK
INSTALL: PNP is being installed...
User avatar
kfanselow
Posts: 259
Joined: Tue Aug 31, 2021 3:25 pm

Re: New Install of Nagios XI 2026R1.4 missing hosts

Post by kfanselow »

Hi matson-itops,

Thanks for the information. Your broker line looks correct and with core being in an active state it appears that NDO3 did install and is being loaded.

The big difference between NDO2 and NDO3 is architectural; NDO3 doesn't use a separate daemon to handle database transactions. The database calls are in the broker module itself (/usr/local/nagios/bin/ndo.so) so you don't have to manage a separate service.

Did you see a change in behavior after running reconfigure_nagios.sh ? If not the next step would probably be to run the crashed database script as well:

Code: Select all

/usr/local/nagiosxi/scripts/repair_crashed_databases.sh
Failing that you should open a case with our support team so they can look a little deeper into your system configuration.

https://supportportal.nagios.com/s/

Thanks and best regards.
matson-itops
Posts: 141
Joined: Wed Nov 18, 2015 11:19 pm

Re: New Install of Nagios XI 2026R1.4 missing hosts

Post by matson-itops »

something weird about the backend connection
going down rabbit hole of AI I managed to get the data to sync yesterday.
however, today when I added another host (like 3rd one only) it did not show up.

posting here as PSA. I'll see about opening an official support ticket.
Post Reply