2021-01-12 Zabbix 5.0 (null): can't create raw socket (must run as root?) : Address family not su...

Zabbix 5.0

在应用ping相关模板或添加simple check监控项后,提示:

(null): can't create raw socket (must run as root?) : Address family not supported by protocol


报错界面

查看日志


日志

原因:

当Server IPv6被禁用时fping不能正常工作,重新启用server IPv6即可。

编辑/etc/default/grub        将内核参数ipv6.disable的值从1更改为0

# cat /etc/default/grub

GRUB_CMDLINE_LINUX="ipv6.disable=0 crashkernel=auto rhgb quiet"

重新生成GRUB配置文件并覆盖现有配置文件。

#grub2-mkconfig -o /boot/grub2/grub.cfg

重启

# reboot


参考文章:https://github.com/schweikert/fping/issues/118

你可能感兴趣的:(2021-01-12 Zabbix 5.0 (null): can't create raw socket (must run as root?) : Address family not su...)