telegraf

telegraf

Official

Docker app from atribe's Repository

Overview

Telegraf gathers metrics from your system and sends them to an InfluxDB server for storage. From InfluxDB you would typically use something like Grafana to plot the data.
Both Grafana and Influxdb are available through Community Apps

This version of telegraf requires you to manually place a config file at /mnt/user/appdata/telegraf/telegraf.conf The container will not start without it.

The default telegraf.conf file can be extracted from telegraf by running this command before you launch telegraf
docker run --rm telegraf telegraf config > /mnt/cache/appdata/telegraf/telegraf.conf

Configuration
Container Volumes:
/var/run/docker.sock Read Only. Location of your docker socket.
/var/run/utmp Read Only. Location of your utmp file.
/run/udev Read Only. Allows you to identify devices based on their properties, like vendor ID and device ID
/rootfs Read Only. To be mapped to the root of the host file system. This is so the disk usage reported will be that of the host system.
/rootfs/etc Read Only. To be mapped to the etc of the host file system. This is so the disk usage reported will be that of the host system.
/rootfs/proc Read Only. To be mapped to the proc of the host file system. This is so the disk usage reported will be that of the host system.
/rootfs/sys Read Only. To be mapped to the sys of the host file system. This is so the disk usage reported will be that of the host system.

Environment Variables:
HOST_MOUNT_PREFIX Name of container volume mapping of the root file system.
HOST_ETC Name of the etc volume mapping of the root file system.
HOST_PROC Name of the proc volume mapping of the root file system.
HOST_SYS Name of the sys volume mapping of the root file sytem.

Runtime arguments

Network
host
Privileged
true

Template configuration

Host Path 1Pathro

Container Path: /var/run/utmp

Target
/var/run/utmp
Default
/var/run/utmp
Host Path 2Pathro

Container Path: /var/run/docker.sock

Target
/var/run/docker.sock
Default
/var/run/docker.sock
Host Path 3Pathro

Container Path: /rootfs

Target
/rootfs
Default
/
Host Path 4Pathro

Container Path: /rootfs/sys

Target
/rootfs/sys
Default
/sys
Host Path 5Pathro

Container Path: /rootfs/etc

Target
/rootfs/etc
Default
/etc
Host Path 6Pathro

Container Path: /rootfs/proc

Target
/rootfs/proc
Default
/proc
Host Path 7Pathrw

Container Path: /etc/telegraf/telegraf.conf

Target
/etc/telegraf/telegraf.conf
Default
/mnt/user/appdata/telegraf/telegraf.conf
Host Path 8Pathro

Container Path: /run/udev

Target
/run/udev
Default
/run/udev
Key 1Variable

Container Variable: HOST_PROC

Target
HOST_PROC
Default
/rootfs/proc
Key 2Variable

Container Variable: HOST_SYS

Target
HOST_SYS
Default
/rootfs/sys
Key 3Variable

Container Variable: HOST_ETC

Target
HOST_ETC
Default
/rootfs/etc
Key 4Variable

Container Variable: HOST_MOUNT_PREFIX

Target
HOST_MOUNT_PREFIX
Default
/rootfs

Download Statistics

632,381,219
Total Downloads
2,208,362
This Month
1,872,698
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
telegraf:latest
Last Updated2026-04-17
First Seen2020-12-11

Run Telegraf on Unraid.

Telegraf is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.