1.使用yum方式安装:
- [root@station81 ~]# yum -y install net-snmp*
- [root@station81 ~]# chkconfig snmpd on
- [root@station81 ~]# /etc/init.d/snmpd restart
- com2sec notConfigUser default public
- 修改后:
- com2sec notConfigUser 192.168.11.81 public
- access notConfigGroup "" any noauth exact systemview none none
- 修改后:
- access notConfigGroup "" any noauth exact all none none
- #view all included .1 80
- 修改后:
- view all included .1 80
- [root@station81 ~]# netstat -tunlp | grep snmpd
- udp 0 0 0.0.0.0:161 0.0.0.0:* 6886/snmpd