一、监控本地(localhost)内存1、上传监控脚本 check_mem 到/usr/local/nagios/libexec# chown -R nagios.nag
nagios 监控mysql(check_mysql_health插件) http://labs.consol.de/wp-content/uploads/2011/08/check_mysql_h