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

One agent update via cli

PrateekGupta
Visitor

How to stop automatic update of OneAgent on multiple host  via cli  ?

1 REPLY 1

Mizső
DynaMight Leader
DynaMight Leader

Hi @PrateekGupta,

I would use API calls.

First: 

Environment APIv2 Monitored entities:

GET / entities provide a list of entities, you can filter only for hosts by type("HOST")

Second:

Configuration API  OneAgent on a host.

POST  / hosts/{id}/autoupdate.

Here is an example for disable with curl:

Mizs_0-1695219496777.png

I hope it helps.

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Featured Posts