netdata安装
# download it - the directory 'netdata' will be created
git clone https://github.com/firehol/netdata.git --depth=1
cd netdata
# run script with root privileges to build, install, start netdata
./netdata-installer.sh
监控MySQL模块
mysql数据库创建netdata用户
# mysql -uroot -pywaqsj@1.0@
> create user 'netdata'@'localhost';
> grant usage on *.* to 'netdata'@'localhost' with grant option;
> flush pri