question

Rahul A. avatar image
Rahul A. asked ·

Can we monitor NTP sync Status of Unix machine in DT managed..? Specially in AIX machine..?

Need to know if we can monitor NTP sync status using DT managed.

Dynatrace Managedaix
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Dante P. avatar image
Dante P. answered ·

You could Create a script/plugin that feed that info to a metric.

2 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

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-smartscape/custom-device-api/report-custom-device-metric-via-rest-api/?request-parameters%3C-%3Ejson-model=json-model]

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!

0 Likes 0 · ·
1569948840411.png (31.3 KiB)

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.

1 Like 1 · ·