Linux serverNETWORK ADMINISTRATIONS

InfluxDB + Telegraf + Grafana Installation and Quick Start for Centos 7

Steps:

1 – Add Repository for InfluxDB & Telegraf & Grafana

Source 1: https://www.influxdata.com/blog/package-repository-for-linux/
Source 2: https://grafana.com/docs/grafana/latest/installation/rpm/

2 – Configure InfluxDB

– yum -y install influxdb
– systemctl enable influxdb
– systemctl start influxdb
– influx
– CREATE USER telegraf WITH PASSWORD ‘DATABASE_USER_PASSWORD_HERE’ WITH ALL PRIVILEGES
– exit
– vi /etc/influxdb/influxdb.conf

Change values to following values:

[http]
auth-enabled = true

– systemctl restart influxdb

3 – Configure Telegraf

– yum -y install telegraf
– vi /etc/telegraf/telegraf.conf

Change values to following values:

[[outputs.influxdb]]
database = “telegraf”
username = “telegraf”
password = “DATABASE_USER_PASSWORD_HERE”

– systemctl enable telegraf
– systemctl start telegraf

4 – Configure Grafana

– yum -y install grafana
– systemctl enable grafana-server
– systemctl start grafana-server

Default Username and Password: admin

Keywords:
influxdb, timeseries db, telegraf, grafana

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *