Core Config Manager: importing configs
Posted: Fri Jan 06, 2017 7:05 am
I'm currently using Nagios XI 5.2.3 with the Core Config Manager (CCM) 2.5.2.
The use case is that I have mass updates to do to the configuration I currently have (almost 1000 of the services need updating) and, instead of doing this through the config manager (which would take a very long time) I have instead updated the config files using a script and now need to get them into Nagios/CCM.
To get these in I started by deleting the old config , applying the configuration (to write the delete) and then used the import method described in the link below to import the update configuration:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Note, I didn't pre-process the configurations with the preparation script because I assumed that, as I was importing modified configs, it should already be correct.
After doing the final "Apply Configuration" the updated services were imported and some, may be 10-15%, were duplicated. I've double checked the config, both old and updated, and neither have the duplicate services. I can only assume CCM is getting in the way.
Does anyone know what might be going on here, and how I might be able to get CCM to behave?
Better yet, is there a way to tell CCM to forget whatever it knows and re-load its config fresh from the config files it has/you give it?
Many thanks,
Matthew
The use case is that I have mass updates to do to the configuration I currently have (almost 1000 of the services need updating) and, instead of doing this through the config manager (which would take a very long time) I have instead updated the config files using a script and now need to get them into Nagios/CCM.
To get these in I started by deleting the old config , applying the configuration (to write the delete) and then used the import method described in the link below to import the update configuration:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Note, I didn't pre-process the configurations with the preparation script because I assumed that, as I was importing modified configs, it should already be correct.
After doing the final "Apply Configuration" the updated services were imported and some, may be 10-15%, were duplicated. I've double checked the config, both old and updated, and neither have the duplicate services. I can only assume CCM is getting in the way.
Does anyone know what might be going on here, and how I might be able to get CCM to behave?
Better yet, is there a way to tell CCM to forget whatever it knows and re-load its config fresh from the config files it has/you give it?
Many thanks,
Matthew