29 Aug 2017
04:26 PM
- last edited on
24 May 2021
07:44 AM
by
MaciejNeumann
We are looking for some automation from our end to disable/enabling the monitoring of the hosts through REST API. We see the API which provides the list of hosts. But wondering any API to update enable/disable monitoring of particular HOST.
Solved! Go to Solution.
AFAIK it's not possible at this time using the public API. Maintenance windows are on the roadmap and should be available very soon. It believe enabling/disabling host monitoring using API will be included with release of maintenance windows.
Or if you have time & courage, you could try play with the private REST API (undocumented) - the one UI is using. It does not look that complicated, you just need to figure out how to send valid headers.
Thanks for the response.
Can you provide details of private REST API (undocumented) , if you have that handy.
I don't have that, sorry.
11 Sep 2018
03:16 AM
- last edited on
29 May 2023
06:41 AM
by
MaciejNeumann
I have the need to do the same. I can find some information using the REST API with /entity/infrastructure/hosts/{meIdentifier} but the only candidate for disable monitoring would be "monitoringMode": but I guess that is only to set/unset infrastructure only monitoring mode.
Hi guys,
Any news here? is this feature is on the roadmap?
Yos
Do we have any doc for this, asking after 2 years, hope someone found out already.
Is this implemented yet? I have 20+ hosts with specific tags and I want to disable monitoring for these hosts via API?
That functionality will be available very soon: https://www.dynatrace.com/news/blog/manage-thousands-of-hosts-with-the-new-oneagent-on-a-host-rest-a...
Featured Posts