- https://blog.csdn.net/weixin_34417635/article/details/94753970
- https://blog.csdn.net/weixin_54028135/article/details/123706044
- http://t.zoukankan.com/xuefy-p-11009143.html 中文环境配置
- https://zhuanlan.zhihu.com/p/35064593 监控用户登录数量实现

- mysql监控
https://blog.csdn.net/weixin_35838394/article/details/113210708
i just to let you know im all set:mysql --user=root mysqlCREATE USER ''zabbix'@'localhost';@'localhost' IDENTIFIED BY 'pass';GRANT SELECT ON *.* TO 'zabbix'@'localhost';I then change the daemon config to:UserParameter=mysql.ping,mysqladmin -uzabbix -pmoon2010 ping|grep alive|wc -lUserParameter=mysql.uptime,mysqladmin -uzabbix -pmoon2010 status|cut -f2 -d":"|cut -f1 -d"T"UserParameter=mysql.threads,mysqladmin -uzabbix -pmoon2010 status|cut -f3 -d":"|cut -f1 -d"Q"UserParameter=mysql.questions,mysqladmin -uzabbix -pmoon2010 status|cut -f4 -d":"|cut -f1 -d"S"UserParameter=mysql.slowqueries,mysqladmin -uzabbix -pmoon2010 status|cut -f5 -d":"|cut -f1 -d"O"UserParameter=mysql.qps,mysqladmin -uzabbix -pmoon2010 status|cut -f9 -d":"UserParameter=mysql.version,mysql -V
