In past Nagios XI releases you could determine if there were changes pending by querying the PostgreSQL database.
Now that the PostgreSQL database has been dropped (thank you!), how do we determine if unapplied changes are pending?
Thank you.
Nagios XI R5 - Determine Unapplied Changes Pending
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI R5 - Determine Unapplied Changes Pending
I will get the developers to get back to you with an answer on this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios XI R5 - Determine Unapplied Changes Pending
I think I found the answer (and it would have been obvious if I'd just looked):
MySQL Query:
If the value is '0', then no changes are pending. If it is '1', there are pending changes. I tested this and it appears to be the case.
Confirmation would be nice, but this correct.
MySQL Query:
Code: Select all
SELECT value FROM nagiosxi.xi_options WHERE name = 'ccm_apply_config_needed';Confirmation would be nice, but this correct.
Re: Nagios XI R5 - Determine Unapplied Changes Pending
The answer that I got from the developers is that your query would only show whether or not an apply config is needed. If you needed to figure out exactly 'what' needed an apply config you would need to check file timestamps and last_modified in nagiosql.
Former Nagios Employee.
me.
me.
Re: Nagios XI R5 - Determine Unapplied Changes Pending
That's all I was concerned with at this point. I have external configuration management tool that I want to "wait" until all changes have been applied before it attempts to execute it's changes. I use this in conjunction with the reconfiguration lock file to ensure only one set of changes are applied at a time to the system.
Re: Nagios XI R5 - Determine Unapplied Changes Pending
Does that mean we are all right to consider this one resolved?mp4783 wrote:That's all I was concerned with at this point.
Former Nagios Employee.
me.
me.