A set of Telegraf input plugin configurations for gathering data from Chrony 4.
Find a file
2023-08-17 09:29:30 -04:00
input_chrony_sources.conf Initial commit. 2023-08-17 09:29:30 -04:00
input_chrony_sourcestats.conf Initial commit. 2023-08-17 09:29:30 -04:00
input_chrony_tracking.conf Initial commit. 2023-08-17 09:29:30 -04:00
LICENSE Initial commit 2023-08-17 08:58:16 -04:00
README.md Initial commit. 2023-08-17 09:29:30 -04:00

chrony-telegraf

A set of Telegraf input plugin configurations for gathering data from Chrony 4.

These plugin configurations require Chrony 4 or later, as they use CSV style output from the chronyc commands, which was not available in earlier versions.

input_chrony_tracking.conf

This plugin gathers data from the chronyc tracking command's output. The published metric will be named chrony_tracking, and will have all of the data columns in the command's output as fields. The published metric will not have any tags.

input_chrony_sources.conf

This plugin gathers data from the chronyc sources command's output. The published metric will be named chrony_sources, and will have all of the data columns in the command's output as fields, except for the source column (the name or IP address of the source). The source column will be present as a tag on the published metric.

input_chrony_sourcestats.conf

This plugin gathers data from the chronyc sourcestats command's output. The published metric will be named chrony_sourcestats, and will have all of the data columns in the command's output as fields, except for the source column (the name or IP address of the source). The source column will be present as a tag on the published metric.