- He is Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!
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!
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.
Ubuntu
Add the repository
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${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
Centos
Add the repository
vi /etc/yum.repos.d/influxdb.repo
[influxdb]
name = InfluxDB Repository - RHEL \$releasever
baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
enabled = 1
gpgcheck = 1
gpgkey = https://repos.influxdata.com/influxdb.key
Install telegraf and start the service
sudo yum install telegraf
sudo service telegraf start
Happy Learning 🙂
© 2020, Techrunnr. All rights reserved.
Hi Bro,
How to monitor databases using zabbix,,, like postgres database DB size, how many DB, users in db ,active users.
Thanks in advance.
hi SanthoshKumar,
We haven’t created any documents related to this, will create and keep you posted.