20 Sep 2023 02:30 PM
How to stop automatic update of OneAgent on multiple host via cli ?
Solved! Go to Solution.
20 Sep 2023 03:19 PM - edited 20 Sep 2023 03:47 PM
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:
I hope it helps.
Best regards,
Mizső