Hi
@ghosham,
The way Nagios XI handles configurations is by writing out the information stored in the CCM database (nagiosql) Each Nagios server contains a separate database with the current, running configurations. Any changes in the CCM are written out as the configuration files to the directory, Nagios Core is re-started and then this data is imported into memory. It's not recommended to sync the XI configuration directory as the systems databases would likely not be the same.
A workaround would be to use the static directory in XI. Assuming there are no errors in the configurations, you could pull those files into the XI static directory. However, you would not be able to edit anything in the CCM on the production side.
See:
Nagios XI Manual Config File Management
As far as the API goes, it is fully documented in the Nagios XI interface, go to Admin > Help to view.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy.
Be sure to check out our
Knowledgebase for helpful articles and solutions!