1、/var/www/html/scripts/ss_get_mysql_stats.php 2、监控的mysql服务添加用户: mysql> grant process,super on *.* to 'cacti'@'117.34.25.201' identified by 'www.cnyunwei.com'; 3、防火墙设置; 转载于:https://blog.51cto.com/shouhouzhe/1376771