linux_cacti 配置之 安装snmp 服务
下载5个 rpm包
libsensors3-2.10.6-55.el5.x86_64.rpm
lm_sensors-2.10.6-55.el5.x86_64.rpm
net-snmp-5.3.2.2-5.el5_3.2.x86_64.rpm
net-snmp-libs-5.3.2.2-5.el5_3.2.x86_64.rpm
net-snmp-utils-5.3.2.2-5.el5_3.2.x86_64.rpm
rpm 下载网址
wget -c //ftp.pbone.net/mirror/atrpms.net/el5-x86_64/atrpms/stable/libsensors3-2.10.6-55.el5.x86_64.rpm
rpm -ivh libsensors3-2.10.6-55.el5.x86_64.rpm
rpm -ivh lm_sensors-2.10.6-55.el5.x86_64.rpm
rpm -ivh net-snmp-libs-5.3.2.2-5.el5_3.2.x86_64.rpm
rpm -ivh net-snmp-5.3.2.2-5.el5_3.2.x86_64.rpm
rpm -ivh net-snmp-utils-5.3.2.2-5.el5_3.2.x86_64.rpm
安装后如果有新版本的 net-snmp-libs-5.3.2.2-5.el5_3.2.x86_64.rpm
先 卸载 新版本
rpm -e rpm_name
安装后查看 snmp
rpm -aq |grep snmp
net-snmp-5.3.2.2-5.el5_3.2
net-snmp-libs-5.3.2.2-5.el5_3.2
net-snmp-utils-5.3.2.2-5.el5_3.2
启动snmp服务
service snmpd start
设置snmp 服务器开启启动
chkconfig snmpd on
查看是否设置成功
chkconfig --list | grep snmpd