Page 1 of 1
How can I detect if an apply config is needed from cli
Posted: Tue Jan 06, 2026 12:38 pm
by StevenBeauchemin
I can see in CCM when the system wants an Apply Config.
How can I tell from the command line if an Apply Config is needed?
Thanks
Steve B
Re: How can I detect if an apply config is needed from cli
Posted: Tue Jan 06, 2026 4:50 pm
by kg2857
If you haven't made a change in CCM or dropped anything in the import dir there's no need to reconfigure.
Re: How can I detect if an apply config is needed from cli
Posted: Mon Jan 12, 2026 11:38 am
by cdietsch
Hi Steve,
I don't think there is a builtin command but I know you can run the following SQL query:
Code: Select all
SELECT value FROM nagiosxi.xi_options WHERE name = 'ccm_apply_config_needed';
And it will output either 0 or 1.
You could write a shell script to run query and parse the output.