6.SNMP报错-Error opening specified endpoint “udp6:[::1]:161“处理

启动SNMP服务
/etc/init.d/snmpd start

出现以下报错信息

[....] Starting snmpd (via systemctl): snmpd.serviceJob for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.
 failed!

查看一下SNMP服务状态
systemctl status snmpd

出现以下报错
可能是系统关闭了相关ipv6的服务
6.SNMP报错-Error opening specified endpoint “udp6:[::1]:161“处理_第1张图片

解决办法:

修改配置文件
vim /etc/snmp/snmpd.conf

找到agentAddress udp:161,udp6:[::1]:161并注释
在下面添加agentAddress udp:161

6.SNMP报错-Error opening specified endpoint “udp6:[::1]:161“处理_第2张图片
然后保存退出

再次启动SNMP服务
/etc/init.d/snmpd start

在这里插入图片描述

再次查看一下SNMP服务状态

systemctl status snmpd

6.SNMP报错-Error opening specified endpoint “udp6:[::1]:161“处理_第3张图片

到此结束

你可能感兴趣的:(zabbix,运维)