步骤一:修改 /etc/snmp/snmpd.conf 配置文件
# vim /etc/snmp/snmpd.conf
将以下内容:
......
group gpublic v1 ......
group gpublic v2c ......
......
修改为:
......
# group gpublic v1 ......
# group gpublic v2c ......
......
步骤二:让修改的 /etc/snmp/snmpd.conf 配置文件生效
# systemctl restart snmpd