In this guide, I’ll show you how to Install Telegraf on Fedora 34/33/32/31/30. Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics to a time series database such as InfluxDB, Prometheus e.t.c.

The metrics collected by Telegraf agents running on servers will be pushed to InfluxDB. If you don’t have a running instance of InfluxDB, refer to our guides below on installing InfluxDB:

How to Install InfluxDB on Fedora

Install InfluxDB on Ubuntu / Debian

Install Grafana and InfluxDB on CentOS 7

Below are the steps for installing InfluxDB on Fedora.

Step 1: Add Influxdata RPM repository

Influxdata provides the repository for installing Telegraf on Fedora. Add it to your system first by running the command below.

cat<<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
name = InfluxDB Repository - RHEL 
baseurl =
enabled = 1
gpgcheck = 1
gpgkey =

Step 2: Install Telegraf on Fedora 34/33/32/31/30

Install Telegraf on Fedora by running below command in your terminal.

sudo dnf -y install telegraf

If you want to know the exact version of Telegraf installed, use:

$ rpm -qi telegraf
Name        : telegraf
Version     : 1.18.1
Release     : 1
Architecture: x86_64
Install Date: Sat 10 Apr 2021 10:49:10 PM UTC
Group       : default
Size        : 92019886
License     : MIT
Signature   : RSA/SHA256, Wed 07 Apr 2021 10:57:37 PM UTC, Key ID 684a14cf2582e0c5
Source RPM  : telegraf-1.18.1-1.src.rpm
Build Date  : Wed 07 Apr 2021 07:37:14 PM UTC
Build Host  : ce6039a9301a
Relocations : /
Packager    : [email protected]
Vendor      : InfluxData
URL         :
Summary     : Plugin-driven server agent for reporting metrics into InfluxDB.
Description :
Plugin-driven server agent for reporting metrics into InfluxDB.

Step 3: Start and configure Telegraf on Fedora 34/33/32/31/30

Start telegraf service:

sudo systemctl start telegraf
sudo systemctl enable telegraf

Well, you made it, the next phase will be the configuration of Telegraf to pull and push your desired system metrics to InfluxDB. For this, you’ll find our guide below useful.

Monitor Linux System with Grafana and Telegraf

We have other monitoring tutorials such as:

Monitoring Ceph Cluster with Prometheus and Grafana

How to Monitor Redis Server with Prometheus and Grafana in 5 minutes

How to Monitor Linux Server Performance with Prometheus and Grafana in 5 minutes

How to Monitor BIND DNS server with Prometheus and Grafana

Monitoring MySQL / MariaDB with Prometheus in five minutes

How to Monitor Apache Web Server with Prometheus and Grafana in 5 minutes

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here