Install telegraf on linux system1 min read

Prabhin Prabharkaran Administrator
DevOps Engineer

He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!

follow me

Telegraf is a plugin-driven server agent for collecting and sending metrics and events from databases, systems, and IoT sensors.

Telegraf is written in Go and compiles into a single binary with no external dependencies, and requires a very minimal memory footprint.


Add the repository

wget -qO- | sudo apt-key add -
source /etc/lsb-release
echo "deb${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list

Install telegraf

sudo apt-get update && sudo apt-get install telegraf
sudo service telegraf start



Add the repository


vi /etc/yum.repos.d/influxdb.repo

name = InfluxDB Repository - RHEL \$releasever
baseurl =\$releasever/\$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey =


Install telegraf and start the service


sudo yum install telegraf
sudo service telegraf start


Happy Learning 🙂

© 2020, Techrunnr. All rights reserved.

Questions Answered
Articles Written
Overall Points

2 Thoughts to “Install telegraf on linux system1 min read

  1. Hi Bro,

    How to monitor databases using zabbix,,, like postgres database DB size, how many DB, users in db ,active users.

    Thanks in advance.

    1. hi SanthoshKumar,
      We haven’t created any documents related to this, will create and keep you posted.

Leave a Reply