01 Oct 2024 06:52 PM - last edited on 02 Oct 2024 07:39 AM by MaciejNeumann
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"}}]
02 Oct 2024 07:48 AM
Hi,
You are using a POST request... Do you want to know which host are in Fullstack and Infra mode, right?
Best regards
02 Oct 2024 10:08 AM
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