I hesitated between posting in this category or the more configuration specific Icinga2 category.
We’re using Icinga2 2.13.2-1 and we want to automate the following:
When a configuration change is pushed to a temporary branch in BitBucket, a pipeline has to check the configuration validation (are there no errors)
After a validation with no errors it’s allowed to merge to master
When the merge is complete a trigger will run to pull the configuration change on the servers with Icinga2 monitoring and restart Icinga2
At this time a configuration issue will result in a not working Icinga2, by automating the above steps it will be safer and will cost us less work in the end (only the setup of the above will take some extra time).
Anyone has experience with the above? Any thoughts / solutions / examples that can help me further?