Install Telegraf on Fedora 30/Fedora 29

Last Updated:

In this guide, we are going to learn how to install Telegraf on Fedora 30/Fedora 29. Telegraf is a plugin-driven server agent that is used for collecting and sending metrics and events from databases, systems, and IoT sensors. It one of the major components of TICK stack which is an acronym for Telegraf, InfluxDB (time series DB), Chronograf (interface for InfluxDB) and Kapacitor (real time streaming data processing engine).

Install Telegraf on Fedora 30/Fedora 29

Well, to install Telegraf on Fedora 30/29, you can either use the PRM package or simply install it from InfluxDB repo. However, to use the InfluxDB repo, you need to create the InfluxDB repository on Fedora 30/29.

Check how to install InfluxDB on Fedora 30 in our guide by following the link below;

Install InfluxDB on Fedora 30/Fedora 29

Install Telegraf using RPM package

To install Telegraf on Fedora 30/29 using RPM package, navigate to Telegraf’s downloads page and grab an RPM binary. You can simply fire up your terminal and execute the command below;


Once you have it downloaded, then you can simply install it locally using DNF package manager which will sort any dependency issue, if there is any;

dnf localinstall telegraf-1.10.3-1.x86_64.rpm

Install Telegraf on from InfluxDB Repo

Add InfluxDB Repo

Create InfluxDB repo with the content below;

vim /etc/yum.repos.d/influxdb.repo
name = InfluxDB Repository - RHEL 7
baseurl =
enabled = 1
gpgcheck = 1
gpgkey =

Once you have the repo in place, then install Telegraf by running the command below;

dnf install telegraf

Once the installation is done, you can start and enable Telegraf to run on system boot;

systemctl start telegraf
systemctl enable telegraf

Check the status of Telegraf;

systemctl status telegraf
● telegraf.service - The plugin-driven server agent for reporting metrics into InfluxDB
   Loaded: loaded (/usr/lib/systemd/system/telegraf.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2019-05-06 14:25:12 EAT; 16s ago
 Main PID: 9147 (telegraf)
    Tasks: 8 (limit: 1144)
   Memory: 23.6M
   CGroup: /system.slice/telegraf.service
           └─9147 /usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d

Great. You have Telegraf up and running on your Fedora 30/39 server. We will cover the configuration of Telegraf in our next guide.


We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
I am the Co-founder of, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

Leave a Comment