模板下载:
http://forums.cacti.net/about9861.html
安装脚本
wget http://forums.cacti.net/download.php?id=9907
gzip -d ws_apachestats.pl.gz
cp apache.apache ws_apachestats.pl <path_cacti>/scripts/
chmod 0755 <path_cacti>/scripts/apache.apache ws_apachestats.pl
下载 xml 文件
http://forums.cacti.net/download.php?id=12524
在cacti控制台把 cacti087b_host_template_webserver__apache_444.xml 导入 cacti
客户机配置
<IfModule mod_status.c>
<location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from 192.168.8.8
</location>
监控服务器(192.168.8.8)测试:
./ws_apachestats.pl clint_ip
apache_busy_workers:33 apache_idle_workers:42 thread_O:949 threadC:2 threadD:0 threadG:0 threadI:0 threadK:24 threadL:0 threadR:0 threadS:0 threadW:7 thread_W:42 apache_cpuload:
原创文章,转载请注明: 转载自素食勤俭敬老孝慈
本文链接地址: cacti 监控 apache 服务器
文章的脚注信息由WordPress的wp-posturl插件自动生成
Thank you for writing informative content. I¡¯m impressed with your capability to write persuasive material. you have supplied me lots of thought-provoking views to consider.
[回复]