# Can we monitor NTP sync status of Unix machine, specially in AIX machine.

**URL:** <https://community.dynatrace.com/t/can-we-monitor-ntp-sync-status-of-unix-machine-specially-in-aix-machine/22078>\
**Category:** Dynatrace API\
**Tags:** aix, dynatrace-api\
**Created:** [September 25, 2019, 3:54pm UTC](https://community.dynatrace.com/t/can-we-monitor-ntp-sync-status-of-unix-machine-specially-in-aix-machine/22078 "2019-09-25T15:54:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_ash1](https://avatars.discourse-cdn.com/v4/letter/r/8797f3/32.png) [@rahul\_ash1](https://community.dynatrace.com/u/rahul_ash1)\
**Post date:** [September 25, 2019, 3:54pm UTC](https://community.dynatrace.com/t/can-we-monitor-ntp-sync-status-of-unix-machine-specially-in-aix-machine/22078/1 "2019-09-25T15:54:43Z")

</div>

Need to know if we can monitor NTP sync status using Dynatrace Managed.

---

<div class="post-metadata">

**Author:** ![Dant3](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dant3/32/159_2.png) [@Dant3](https://community.dynatrace.com/u/Dant3)\
**Post date:** [September 26, 2019, 11:01pm UTC](https://community.dynatrace.com/t/can-we-monitor-ntp-sync-status-of-unix-machine-specially-in-aix-machine/22078/2 "2019-09-26T23:01:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rahul\_ash1](https://avatars.discourse-cdn.com/v4/letter/r/8797f3/32.png) [@rahul\_ash1](https://community.dynatrace.com/u/rahul_ash1)\
**Post date:** [October 1, 2019, 5:11pm UTC](https://community.dynatrace.com/t/can-we-monitor-ntp-sync-status-of-unix-machine-specially-in-aix-machine/22078/3 "2019-10-01T17:11:47Z")

</div>

Hi Dante

Thanks for your input.

I saw the documentation to create custom metrics [[Report custom device metric via Dynatrace API — Dynatrace Docs](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!

 ![22038-1569948840411.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/b/9b3a54a76b3323f41872bbf7ea40ee17dc281f8f.png)

---

<div class="post-metadata">

**Author:** ![Dant3](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dant3/32/159_2.png) [@Dant3](https://community.dynatrace.com/u/Dant3)\
**Post date:** [December 24, 2019, 1:07am UTC](https://community.dynatrace.com/t/can-we-monitor-ntp-sync-status-of-unix-machine-specially-in-aix-machine/22078/4 "2019-12-24T01:07:29Z")

</div>

Hey [@Rahul A.](https://answers.dynatrace.com/users/29578/view.html) 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.
