解决方案: 修改/etc/snmpd.conf配置文件如图所示位置 #sec.name source community com2sec local localhost default-public com2sec mynetwork 0.0.0.0/0 default-public