Skip to content

Instantly share code, notes, and snippets.

@dubcl
Last active December 17, 2018 17:08
Show Gist options
  • Select an option

  • Save dubcl/c609061d64a6efaa691f54d6b6a6e5b4 to your computer and use it in GitHub Desktop.

Select an option

Save dubcl/c609061d64a6efaa691f54d6b6a6e5b4 to your computer and use it in GitHub Desktop.
Enable Mysql monitoring on Netdata

Verify all paths

service netdata stop

apt-get install python-mysqldb
ln -s /usr/lib/netdata/conf.d/python.d/mysql.conf /etc/netdata/python.d/mysql.conf
echo "mysql=force" >> /etc/netdata/charts.d.conf

ON MYSQL DO

CREATE USER 'netdata'@'localhost';
GRANT USAGE on *.* to 'netdata'@'localhost';
FLUSH PRIVILEGES;
exit
service netdata start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment