16 May 2025
09:05 AM
- last edited on
16 May 2025
10:01 AM
by
MaciejNeumann
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 ?
16 May 2025 12:22 PM
Hi,
If you Monaco to apploy configuration in host group level, you need to know those host groups ids. I would say:
Best regards