This is a Prometheus Exporter for Chrony NTP.
For most use-cases, simply download the the latest release.
You need a Go development environment. Then, simply run make to build the
executable:
make
This uses the common prometheus tooling to build and run some tests.
You can build a Docker container with the included docker make target:
make promu
promu crossbuild -p linux/amd64 -p linux/arm64
make docker
This will not even require Go tooling on the host.
A minimal invocation looks like this:
./chrony_exporter
Supported parameters include:
--web.listen-address: the address/port to listen on (default:":9290")--collector.sources: Enable/disable the collection ofchronyc sourcesmetrics. (Default: Disabled)--collector.tracking: Enable/disable the collection ofchronyc trackingmetrics. (Default: Enabled)
To disable a collector, use --no-. (i.e. --no-collector.tracking)
By default, the exporter will bind on :9123.
The IPMI Exporter supports TLS and basic authentication.
To use TLS and/or basic authentication, you need to pass a configuration file
using the --web.config.file parameter. The format of the file is described
in the exporter-toolkit repository.