question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option to use host time server configuration for NTP check

See original GitHub issue

All of our servers are configured to use a local time service to avoid making external calls for NTP. On premise, local servers are acting as proxies to external time sources. On cloud platforms, we use the time source provided by the hosting cloud providers.

Also, I have noticed that NTP queries from GCP to Datadog NTP servers time out several times a day.

It would be great if the NTP check used the time service configured on the host system by default. If NTP isn’t enabled/configured at the host level, it could then default to the datadog provided pool.

Notes:

Debian and Container-Optimized OS GCE images provided by Google use the local NTP service at metadata.google.internal (169.254.169.254) by default. https://cloud.google.com/compute/docs/instances/managing-instances#configure_ntp_for_your_instances

AWS has a similar service: 169.254.169.123 https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-time-sync-service/

Other cloud providers certainly have too.

Bonus points: use those by default when running on cloud platforms.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
olivielpeaucommented, Sep 16, 2019

Implemented through https://github.com/DataDog/datadog-agent/pull/3979, which was just released in Agent v6.14.0. Closing.

We are not considering porting this enhancement to Agent v5 (see https://github.com/DataDog/datadog-agent/pull/3979#issuecomment-531793857)

1reaction
mascicommented, Jun 28, 2018

Thanks for the quick response, I’m coordinating with the Agent team to deliver this feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 19. Configuring NTP Using ntpd
When the packet arrives, the time server adds a "receive time stamp". After processing the request for time and date information and just...
Read more >
How to Configure a Local NTP Server | HPE Edgeline Docs
Start the Local Windows NTP Time Service · In the File Explorer, navigate to: Control Panel\System and Security\Administrative Tools · Double-click Services. ·...
Read more >
Networking: Check NTP Settings - SCS Computing Facilities
How to check NTP settings. When possible, computers should be configured to use NTP servers advertised by DHCP. When this is not possible,...
Read more >
Use NTP Servers for Time and Date Synchronization of a Host
In the vSphere Client home page, navigate to Home > Hosts and Clusters. · Select a host. · On the Configure tab, select...
Read more >
How to Properly Configure NTP Server ... - YouTube
This video will detail how to properly configure NTP server configurationg settings in a VMware environment. A normal wrong configuration is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found