From 48e66a32726b8a66d456461ef69540dfdaa0a5fb Mon Sep 17 00:00:00 2001 From: Janine Chan <64388808+janine-c@users.noreply.github.com> Date: Mon, 18 Nov 2024 15:09:45 -0500 Subject: [PATCH] Add tab for NTP containerized config (#19072) --- ntp/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/ntp/README.md b/ntp/README.md index b22fbdfb3e18d..60444076f8de7 100644 --- a/ntp/README.md +++ b/ntp/README.md @@ -27,12 +27,37 @@ The NTP check is included in the [Datadog Agent][1] package, so you don't need t ### Configuration + + + +#### Host + The Agent enables the NTP check by default. To configure the check yourself, edit the file `ntp.d/conf.yaml` in the `conf.d/` folder at the root of your [Agent's configuration directory][2]. See the [sample ntp.d/conf.yaml][3] for all available configuration options. Outgoing UDP traffic over the port `123` should be allowed so the Agent can confirm that the local server time is reasonably accurate according to the Datadog NTP servers. **Note**: If you edit the Datadog-NTP check configuration file, [restart the Agent][4] to effect any configuration changes. + + + + +#### Containerized + +For containerized environments, see the documentation concerning [Autodiscovery configurations][9] for guidance on applying the parameters below. See the sample [ntp.d/conf.yaml][10] for all available configuration options. + +##### Metric collection + +| Parameter | Value | +|----------------------|------------------------------| +| `` | `["ntp"]` | +| `` | `[{}]` | +| `` | `[{"host": ""}]` | + + + + + ### Validation [Run the Agent's `status` subcommand][5] and look for `ntp` under the Checks section. @@ -62,3 +87,5 @@ Need help? Contact [Datadog support][8]. [6]: https://github.com/DataDog/integrations-core/blob/master/ntp/metadata.csv [7]: https://github.com/DataDog/integrations-core/blob/master/ntp/assets/service_checks.json [8]: https://docs.datadoghq.com/help/ +[9]: https://docs.datadoghq.com/containers/kubernetes/integrations/?tab=annotations#configuration +[10]: https://github.com/DataDog/datadog-agent/blob/main/cmd/agent/dist/conf.d/ntp.d/conf.yaml.default \ No newline at end of file