15 Mar 2018 07:25 AM
Hi,
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?
BR
Kasper
Solved! Go to Solution.
15 Mar 2018 07:28 AM
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.
15 Mar 2018 08:42 AM
Hi,You can do this through Plugins SDK, https://dynatrace.github.io/plugin-sdk/readme.html, oneagent_build_plugin command. We don't have API for plugin uploading.
20 Mar 2018 04:27 PM
@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 file=@plugin.zip -H "Authorization: Api-Token XXXX" https://YYYYY.live.dynatrace.com/api/v1/plugins