且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

zabbix_get [2520]: Check access restrictions in Zabbix agent configuration

更新时间:2022-09-14 16:12:16

  今天在做zabbix时,出现了“zabbix_get [2520]: Check access restrictions in Zabbix agent configuration”,感觉好像是权限决绝不让访问,于是将服务器端和客户端的防火墙,SELinux都检查了遍,结果都没有开,于是查了下客户端的配置文件,发现客户端没有内网地址,而配置文件中是内网地址,于是坚决将内网地址改为公网地址,重启配置文件,结果服务器端获取到了值。

zabbix_get [2520]: Check access restrictions in Zabbix agent configuration

注意上面的-s后面的ip地址要跟agent端的server的ip地址相同

zabbix_get [2520]: Check access restrictions in Zabbix agent configuration

本文转自写个博客骗钱博客51CTO博客,原文链接http://blog.51cto.com/dadonggg/1953083如需转载请自行联系原作者


菜鸟东哥