cacti监控squid
制作:高进波
时间:20009-3-18
1.修改squid配置文件,启用snmp
vi squid.conf
acl CactiServer src 192.168.1.237 127.0.0.1 //只让本机和这个IP访问
acl SNMP snmp_community passwd
snmp_port 3401
snmp_access allow SNMP CactiServer
snmp_access deny ALL
2.检查是否安装成功
service squid restart #重启squid服务
yum install -y net-snmp-utils
snmpwalk -v 1 -c passwd localhost:3401 .1.3.6.1.4.1.3495.1
3.下载cacti-squid
http://forums.cacti.net/download.php?id=79
unzip SquidStats-0.1.zip
mv webcache_squid_* /var/www/html/cacti/resource/snmp_queries/
chown apache:apache /var/www/html/cacti/
4.在CACTI管理导入模板
cacti_host_template_webcache_squid_server_snmp.xml
5.添加设备
在“Devices”选项中添加新主机,注意“Host Template”选择"squid sever"
就是导入进的那个.并注意填写以下内容:
SNMP Community = passwd
SNMP Version = 1
SNMP Port = 3401
完成
五月 2nd, 2011 at 04:52
Lose Love Handles Fast…
[...]below you’ll see my links page http://www.loselovehandlesfastblog.com/links/ with some fantastic websites that I think you should definitely go visit[...]…
五月 26th, 2011 at 01:41
Interesting Posts…
[...]some other related resources on the web that are worth viewing on this subject include[...]…
六月 17th, 2011 at 03:34
Interesting Posts…
[...]some other related resources on the web that are worth viewing on this subject include[...]…
六月 22nd, 2011 at 23:13
Sites we Like………
[...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]………
六月 23rd, 2011 at 03:54
Great website…
[...]we like to honor many other internet sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages worth checking out[...]………
六月 23rd, 2011 at 07:04
Cool sites……
[...]we came across a cool site that you might enjoy. Take a look if you want[...]………