cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Anomaly detection settings on multiple host groups

Aymeric_M
Participant

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 ?

I read the documentation ^^
1 REPLY 1

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

If you Monaco to apploy configuration in host group level, you need to know those host groups ids. I would say:

  • If host groups are not static, you need to create your script.
  • If host group are static, or you can add them manually, you can use Monaco apply using host group id.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts