MySQL Monitoring with Telegraf, InfluxDB & Grafana

Written by mlabouardy | Published 2017/12/17
Tech Story Tags: docker | mysql | database | monitoring | grafana

TLDRvia the TL;DR App

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.


Published by HackerNoon on 2017/12/17