Page 1 of 1

scheduled check does not work after reload nagios

Posted: Wed Aug 26, 2020 8:17 am
by el.tison
Hello the support team,

Since the last update :

At each modification / reloading of the configuration, the "scheduled checks" are no longer updated and it is impossible to make "acknowledges".
It lasts about an hour and then returns to normal.

A repair of the base was made without resolving the problem.

Any idea where this might come from?

Version :
Nagios XI 5.7.2
CentOS 7

Re: scheduled check does not work after reload nagios

Posted: Wed Aug 26, 2020 3:03 pm
by jbrunkow
Just to be sure I'm clear on what's happening, you're trying to acknowledge an alert but can't after making changes in the Core Configuration Manager? It may take some time to rebuild the configuration, but an hour seems very long.

Can you please look to see if there are any errors in your configuration? Navigate to Configure section using the top bar of XI > click Core Config Manager under Advanced Configuration on the left pane > then click Config File Management under Tools on the left > and click the Verify Files button. If you see any errors, you can Delete Files then Write Configs and Restart Nagios Core to try to clear them.

It never hurts to send ( PM ) us a profile either! We can find lots of information about your system in there. You can download the profile by navigating to System Profile under System Config on the left pane > and clicking the Download Profile button on that page.

Re: scheduled check does not work after reload nagios

Posted: Thu Aug 27, 2020 2:01 am
by el.tison
Hello jbrunkow,

Thank you for your reply.
I delete files then do a Write Configs: no error when I reload the nagios configuration.

I send you in PM the "system profile".

Re: scheduled check does not work after reload nagios

Posted: Thu Aug 27, 2020 5:20 pm
by benjaminsmith
Hi,

Thank you. We're reviewing the logs and we'll follow up with you shortly.

Re: scheduled check does not work after reload nagios

Posted: Fri Aug 28, 2020 9:50 am
by jbrunkow
[1598511177] NDO-3: Query failed in ndo_empty_queue_timed_event
I see an error in your logs related to NDO failing. Please run through the following steps to downgrade that part for now. We are working on fixing this bug in the next version.

Downgrade Instructons (Local Database)

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/subcomponents/ndoutils
./install
systemctl enable ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is commented:

Code: Select all

#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:

Code: Select all

systemctl start nagios

Re: scheduled check does not work after reload nagios

Posted: Mon Aug 31, 2020 6:19 am
by el.tison
Thank you very much, this solved the problem!

Re: scheduled check does not work after reload nagios

Posted: Mon Aug 31, 2020 7:31 am
by scottwilkerson
el.tison wrote:Thank you very much, this solved the problem!
Great!

Locking thread