I need to set the same settings on multiple hostgroups (a lot, too much to be doing it manually).
I thought about using Monaco since it support Go templating.
But that seems to be limited to the json template files and the scope is set in the yaml config file. So that would mean copy/pasting dozens of time the same lines and changing the scope each time.
As a temporary workaround I used a quick python script to generate the the config.yaml file.
As we regularly have new hosts monitored that leads to new hostgroups added to the same management zone I’m looking for a solution that can be easily reusable or even automated.
Is there a better way to do this quickly ?