In this tutorial, How to monitor your system using Grafana InfluxDB and Telegraf. My example is Grafana InfluxDB, Telegraf as in the picture below:

- Server01 -> 192.168.3.5
- Server02 -> 192.168.3.6
- InfluxDB and Grafana -> 192.168.3.4
Install Grafana Influxdb and Telegraf on Linux
Configure Grafana InfluxDB and Telegraf
InfluxDB configure
For my example, create 2 Databases with a 14-day retention policy.
[root@DevopsRoles ~]# influx
Connected to http://localhost:8086 version 1.7.6
InfluxDB shell version: 1.7.6
Enter an InfluxQL query
> show databases
name: databases
name
----
telegraf
mydb
_internal
> CREATE DATABASE mydb WITH DURATION 14d
> CREATE DATABASE telegraf WITH DURATION 14d
Open and edit file /etc/influxdb/influxdb.conf as below
[[opentsdb]]
enabled = true
bind-address = ":4243"
database = "mydb"
[[opentsdb]]
enabled = true
bind-address = ":4242"
database = "telegraf"
Telegraf Configure
For example, create file configuration as below
$ telegraf -sample-config -input-filter cpu:mem:swap:net -output-filter influxdb > telegraf.conf
Edit and modify file /etc/telegraf/telegraf.conf for server01
[[outputs.influxdb]]
urls = ["http://192.168.3.4:8086"]
database = "telegraf"
Grafana Configure
Add Data Sources for InfluxDB of Server01 as in the picture below

Import the Telegraf JSON template as the picture below

The result of Monitoring with Grafana InfluxDB Telegraf

Conclusion
You have Monitored with Grafana InfluxDB and Telegraf. I hope will this your helpful. Thank you for reading the DevopsRoles page!