01 Sep 2020 03:55 PM - last edited on 16 Dec 2021 03:50 PM by MaciejNeumann
Hello,
Is it possible to upload multiple JMX ZIPs for an environment using a single curl command? If yes, what is the format? I tried
-F "file=@custom.caches.zip;type=application/zip" -F "file=@custom.OSFileDescriptors.zip;type=application/zip"
Does not work. Also tried
-F "file=@custom.caches.zip,custom.OSFileDescriptors.zip;type=application/zip"
Does not work either.
Solved! Go to Solution.
01 Sep 2020 08:19 PM
As far as I know there is no way to upload multiple plugins in a single request. You have to upload each plugin definition in a separate request.
02 Sep 2020 03:51 AM
OK.
Here is the question - how can I speed up the upload/remediation?
I have a list of 10 plugins. And I have a list of 700 tenants missing these plugins. Calling API 7000 times takes 3 hours. Yes, my script has measured it.
I need to do it in less than 10 minutes. How can I do it?
02 Sep 2020 06:55 AM
You will have to rewrite your scripts to do the requests in parallel. You can issue multiple requests in parallel.
I'd recommend to read this blog post to get inspired:
https://www.dynatrace.com/news/blog/managing-the-dynatrace-api-across-multiple-thousand-environments...