paint-brush
MySQL Monitoring with Telegraf, InfluxDB & Grafanaby@mlabouardy
9,230 reads
9,230 reads

MySQL Monitoring with Telegraf, InfluxDB & Grafana

by Mohamed LabouardyDecember 17th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This post will walk you through each step of creating interactive, real-time &amp; dynamic dashboard to monitor your <strong>MySQL</strong> instances using <strong>Telegraf</strong>, <strong>InfluxDB</strong> &amp; <strong>Grafana</strong>.
featured image - MySQL Monitoring with Telegraf, InfluxDB & Grafana
Mohamed Labouardy HackerNoon profile picture

This post will walk you through each step of creating interactive, real-time & dynamic dashboard to monitor your MySQL instances using Telegraf, InfluxDB & Grafana.

Start by enabling the MySQL input plugin in /etc/telegraf/telegraf.conf :

Once Telegraf is up and running it’ll start collecting data and writing them to the InfluxDB database:

Finally, point your browser to your Grafana URL, then login as the admin user. Choose ‘Data Sources‘ from the menu. Then, click ‘Add new‘ in the top bar.

Fill in the configuration details for the InfluxDB data source:

You can now import the dashboard.json file by opening the dashboard dropdown menu and click ‘Import‘ :

Note: Check my Github for more interactive & beautiful Grafana dashboards.