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

Looking to run api for many host from full stack to infra only.

HeyEngineer
Participant

using builtin:host.monitoring.mod I can do one using the post settings/objects API.  How would I format one command where I have 400 host. 

[{"schemaId":"builtin:host.monitoring.mode","schemaVersion":"1.2.0","scope":"HOST-5EDAD70B7766F2B9","value":{"monitoringMode":"INFRA_ONLY"}}]

3 REPLIES 3

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You are using a POST request... Do you want to know which host are in Fullstack and Infra mode, right?

Best regards

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

anaidu
Participant

Hi,

You can use this utility created to convert Hosts from Fullstack to Infra or vice versa: https://dynatrace.github.io/BizOpsConfigurator/#MassEdit

Make sure you use right Tenant URL, API token and Hostgroup parameters to change the monitoring mode. Please use the dry run option to ensure & validate your request before applying the request real time.

 

Regards,

Ajay

Thanks! 

Featured Posts