I can see that through the Dynatrace API it is possible to upload threshold configurations. And through the OneAgent commandline tool it is possible to build and upload plugins.
My question here is...
Is it possible to manage (CRUD) simple jmx plugins (plugin.json) through the dynatrace api??
If not can it be made possible?
Solved! Go to Solution.
My challenge is that i have a lot of web applications, where the jmx keys are created for each application, and therefore each application needs its own plugin.
If the CRUD functionality is available through the API (like the threshold configuration is) then all of the plugin management could be part of the release pipe.
@Jakub M., actually you do have API for that 🙂 The oneagent_build_plugin command uses that API. This works for me.
curl -L -XPOST -F firstname.lastname@example.org -H "Authorization: Api-Token XXXX" https://YYYYY.live.dynatrace.com/api/v1/plugins