Installing InfluxDb and Telegraf on Centos easily

In this article, I will show you steps for Installing InfluxDb and Telegraf. If there is any query please write in the comment box and I will be happy to answer.

InfluxDB Key Features

  • Custom high-performance datastore written especially for time series data.
  • InfluxDB is written entirely in Go Language. It compilies into a single binary with no external dependencies.
  • InfluxDB provides simple, high performing write and query HTTP APIs
  • It is Expressive SQL-like query language tailored to easily query aggregated data.
  • Retention policies efficiently auto-expire stale data

Telegraf Key Features

  • Telegraf is Written in Go Language. It compiles into a single binary with no external dependencies.
  • Telegraf has minimal memory footprint.
  • Telegraf contains wide number of plugins for many popular services

InfluxDB and Telegraf Architecture

Steps for Installing InfluxDB on CentOS

Let’s add the required Influxdb repository in the repository by running the following command.

cat <<EOF | sudo tee /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
EOF

Installing and Starting InfluxDB

sudo yum install influxdb
sudo service influxdb start

Update Repository to Install Telegraf on CentOS

 cat <<EOF | sudo tee /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
  EOF

Installing and Starting Telegraf Service

 sudo yum install telegraf
 sudo service telegraf start

Conclusion

I hope you liked this article about Installing InfluxDb and Telegraf. You can continue reading more about Grafana here.

Get any of the courses at a very special price. The offer is available only for a limited time.

2 thoughts on “Installing InfluxDb and Telegraf on Centos easily”

Comments are closed.

Scroll to Top