1. Apache 配置文件中增加 Server Status 支持
LoadModule status_module modules/mod_status.so
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from all
</Location>
注:被监测的apache服务器最好设置权限访问
2. 下载 cacti 的 apache 模板
http://forums.cacti.net/about25227.html&highlight=apachestats
3.将下载下来的压缩文件中的ss_apache_stats.php拷贝到cacti的scripts目录中
4.配置cacti中的apache模板
5.参考资料
http://forums.cacti.net/about25227.html&highlight=apachestats