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
How can I detect if an apply config is needed from cli
-
StevenBeauchemin
- Posts: 15
- Joined: Fri Jun 30, 2023 12:39 pm
Re: How can I detect if an apply config is needed from cli
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
Hi Steve,
I don't think there is a builtin command but I know you can run the following SQL query:
And it will output either 0 or 1.
You could write a shell script to run query and parse the output.
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';You could write a shell script to run query and parse the output.
Cheers,
- Cole
- Cole