网上有好多安装cacti的资料。这里只介绍下yum安装cacti的部分
1 安装lamp环境(略)
2 安装cacti和cacti-spine
- #get source
- [root@cacti ~]#wget -c http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
- [root@cacti ~]#rpm -i rpmforge-release-0.5.2-2.el5.rf.i386.rpm
- #update yum source
- [root@cacti ~]#yum update
- #install cacti and cacti-spine
- [root@cacti ~]#yum install cacti cacti-spine
3 数据库信息(略)
4 网页设置(略)
5 snmp文件内容
- #[root@cacti ~]yum install net-snmp-*
- #[root@cacti ~]more /etc/snmp/snmpd.conf
- com2sec notConfigUser default public
- group notConfigGroup v1 notConfigUser
- group notConfigGroup v2c notConfigUser
- view systemview included .1
- view systemview included .1.3.6.1.2.1.1
- view systemview included .1.3.6.1.2.1.25.1.1
- access notConfigGroup "" any noauth exact all none none
- view all included .1 80
- access MyROGroup "" any noauth exact all none none
- access MyRWGroup "" any noauth exact all none none
- pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
阅读(783) | 评论(0) | 转发(0) |