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

Is there any GetMonitors or StopMonitor in the Rest API ?

mchennam
Newcomer

AppMon 6.5 Rest API

Looking for any 'GET' calls to retrieve list of available monitors in order to start or stop monitors. Currently i find the run / check monitor if you have monitor name handy.

https://community.dynatrace.com/community/pages/viewpage.action?pageId=221381512#TasksandMonitors(RE...

Thanks for your help

7 REPLIES 7

arturomr
Inactive

Hi,

Yes, is possible by system profile:

curl -X GET --header 'Accept: application/json' 'https://host:8021/api/v2/profiles/profileID/monitors'

Or http: https://host:8021/api/v2/profiles/profileID/monitors

mchennam
Newcomer

Thanks for the super quick response. It cant find /v2/

Problem accessing /api/v2/profiles. Reason:

    Not Found

arturomr
Inactive

Explore your rest interface here: https://server:8021/api-docs/current/index.html#/Tasks_and_Monitors

This is all it provides.

Which version are you using???

AppMon 6.5

Seems that in 6.5 is not present...Upgrade to 7.0??? Is that feaseble?

https://community.dynatrace.com/community/pages/viewpage.action?pageId=221381512