标签:
1.yum安装
yum -y install net-snmp*
2.修改配置文件/etc/snmp/snmpd.conf
com2sec notConfigUser default public 默认团体名为public,如果需要修改,配置成想要的 view systemview included .1 添加配置 access notConfigGroup "" any noauth exact all none none 修改配置 view all included .1 80 取消注释 proc mountd 取消注释 proc ntalkd 4 取消注释 proc sendmail 10 1 取消注释 disk / 10000 取消注释 load 12 14 14 取消注释
3.启动并测试
service snmpd restart
snmpwalk -c public -v 2c 192.168.89.9 测试命令,指定主机名,如果信息出现,表示配置成功(本地测试127.0.0.1)
标签:
原文地址:http://www.cnblogs.com/djoker/p/5767727.html