Page 1 of 1
Apply Configuration Change never finishes.
Posted: Fri Dec 01, 2023 2:14 pm
by Ken.Hall
Whenever I try to apply a configuration change, the UI never finishes. It just continues printing dots after the "Waiting for configuration verification" message. The nagios.log just shows the same message on repeat.
[1701457979] NDO-3: ndo_handle_host_check(ndo-handlers.c:467): Unable to bind parameters
[1701457986] NDO-3: ndo_return = 1 (Statement not prepared)
[1701457986] NDO-3: ndo_handle_host_check(ndo-handlers.c:467): Unable to bind parameters
[1701457989] NDO-3: ndo_return = 1 (Statement not prepared)
[1701457989] NDO-3: ndo_handle_host_check(ndo-handlers.c:467): Unable to bind parameters
Re: Apply Configuration Change never finishes.
Posted: Fri Dec 01, 2023 5:01 pm
by danderson
Thanks for reaching out
@Ken.Hall,
Can you provide more information about the environment that this error is occurring in? Mostly, what version of XI and on which distro? Also, what changes to your hosts and services have you made in the CCM?
Thanks
Re: Apply Configuration Change never finishes.
Posted: Fri Dec 01, 2023 6:25 pm
by Ken.Hall
Nagios version 5.11.3 on a RHEL 8 machine.
The server is fairly new and I have not made any changes to the CCM for the most part. I have mainly been creating files under a sub-directory and defining them in nagios.cfg to get simple ping checks going because anytime I try to use a wizard or deploy an agent the UI gives this configuration error. I am fairly new to nagios but my company has decided that "this is the way" so I am learning as I go. This machine is behind a heavily fortified firewall with no internet access so it cannot check for updates or pull the ncpa agent from your repository so I have to install and configure everything manually.
Re: Apply Configuration Change never finishes.
Posted: Fri Dec 01, 2023 11:00 pm
by kg2857
In nagios XI you make config changes in CCM and then apply them. There is a static dir where you can put manually created config files.
Re: Apply Configuration Change never finishes.
Posted: Mon Dec 04, 2023 10:02 am
by swolf
Hi
@Ken.Hall, thanks for reaching out.
I would create a case on the
Answer Hub for this one. What you're seeing isn't normal (you really should be able to use configuration wizards), but the fix depends a lot on what exactly is going wrong - our Support team would need to see your system profile, which you may not want to share here.
I'll also point out that we have a separate install process that's intended to work better for offline environments - documentation
here. If you do a regular source installation without internet access, or if you start with internet access and remove it later, there are several features that just won't work properly.