AIX
1. 先来检查一下 snmp version
ls -l /usr/sbin/snmpd*
lrwxrwxrwx 1 root system 17 1月26 11时39 /usr/sbin/snmpd -> /usr/sbin/snmpdv3ne
-rwxr-x--- 1 root system 326232 2月04 2006 /usr/sbin/snmpd64v1
-rwxr-x--- 1 root system 285320 2月04 2006 /usr/sbin/snmpdv1
-rwxr-x--- 1 root system 274054 4月11 2005 /usr/sbin/snmpdv3ne

snmpd连接到/usr/sbin/snmpdv3ne,需修改配置文件/etc/snmpdv3.conf,给下面一行前面加#
#COMMUNITY public    public     noAuthNoPriv 0.0.0.0    0.0.0.0         -


2. 重起服务
stopsrc -s snmpd 停止snmpd
startsrc -s snmpd 启动snmpd

 

HPUX
1.修改/etc/SnmpAgent.d/snmpd.conf,给下面一行前面加#
#get-community-name:     public

2.重启snmpd
/sbin/init.d/SnmpMaster stop|start

 

RedHat
1.修改/etc/snmp/snmpd.conf
#       sec.name  source          community
##com2sec notConfigUser  default       public

2.重启snmpd
# service snmpd restart