25 Sep 2019 04:54 PM - last edited on 13 Apr 2023 10:39 AM by Karolina_Linda
27 Sep 2019 12:01 AM
You could Create a script/plugin that feed that info to a metric.
01 Oct 2019 06:11 PM
Hi Dante
Thanks for your input.
I saw the documentation to create custom metrics [ https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/topology-and-s...]
But wondering how I will feed the variable output of a shell script automatically into the JSON field; so that it will automatically update the chart over time?
I mean how the variable output will be reported to the custom device endpoint automatically in every 1 or 5 min (Say I my script is executing at an interval of 1 or 5 mins and producing output which I need to push in DT)?
Any Script example to refer..? That will help a lot..!
Thanks!
24 Dec 2019 01:07 AM
Hey @Rahul A. sorry for the late reply.
What we did in our case is create a template for the json to upload and call a python script that retrive the info it needs and the post it to the custom device every minute. I will try to see if is possible to post our example.