Hi
@alessandrotosi and
@YannPingot,
Developer here. Thanks for reporting this, that's useful information for us. For what it's worth, I agree with your assessment that it's NDO 3 that needs to behave better.
If possible,
please send me a private message with your system profile attached. You can download this by logging into Nagios XI and navigating to Admin->System Config->System Profile. The trick that
@benjaminsmith shared (switching the broker_module lines) has worked on all of the lab machines that I've seen, so hopefully with the profile we'll be able to set up a system that reproduces the same problem you're both seeing.
Once you've sent me the profile, feel free to temporarily
revert back to using NDO 2 until we have this fixed. If your XI system has internet access, here's the easiest way to downgrade:
In your terminal, run the following commands:
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi
./init.sh
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
systemctl start ndo2db
If you use CentOS 6, or some older version of Ubuntu/Debian, you will need to change the systemd commands to the equivalent commands in whatever service manager is being used. Let me know if you need help with that.
Then, in nagios.cfg, find the commented NDO 2 broker module line, and uncomment it. By default, it looks like this:
Code: Select all
#broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Then, find the NDO 3 broker module line, and comment it. It should look close to this:
Code: Select all
broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Last, restart the nagios service:
Sorry for the inconvenience you've had so far. Hopefully we'll be able to resolve this soon.