/influxdata-telegraf-dockerized

Telegraf is an open-source agent written in Go for collecting metrics and data on the system it's running on or from other services.

Primary LanguageDockerfileMIT LicenseMIT

General

MIT License

Telegraf is an open source agent written in Go for collecting metrics and data on the system it's running on or from other services. Telegraf writes data it collects to InfluxDB in the correct format.

This container provides the customized version of the official InfluxData Telegraf image. Customization is required to add missing functionality in the official image.

For ARM CPU I have add the following tools:

For x86_64 CPU I have added the following tools:

Details

Currently, the image supports the following CPU architectures:

  • x86_64 (amd64);
  • arm7l (arm32v6);
  • aarch64 (arm64v8).

This means that the image can be used on regular PC's with Intel CPU as well as on single-board computers like Raspberry Pi with ARM CPU.

Usage

Unfortunately, there is no way to get SATA/ATA drives access without CAP_SYS_RAWIO permissions, so the container should be run with privileged mode. To run container you need to execute command listed below:

docker run -d --name influxdata-telegraf-agent --net=host \
    -v /path/to/telegraf.conf:/etc/telegraf/telegraf.conf \
    --privileged \
    serhiymakarenko/influxdata-telegraf-agent:latest

Related