其他分享
首页 > 其他分享> > zabbix_get [3806]: Check access restrictions in Zabbix agent configuration

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

作者:互联网

[root@localhost zabbix]# zabbix_get -s 100.0.0.4 -k 'web_state'
zabbix_get [3806]: Check access restrictions in Zabbix agent configuration

解决方法:
zabbix agent端配置允许连接的server ip,也就是zabbix server的ip

[root@nginx zabbix]# vim /etc/zabbix/zabbix_agentd.conf
Server=100.0.0.18

# 重启zabbix-agent
systemctl restart zabbix-agent

验证:

[root@localhost zabbix]# zabbix_get -s 100.0.0.4 -k 'web_state'
6

标签:restrictions,get,ip,3806,agent,zabbix,100.0,root
来源: https://www.cnblogs.com/ccku/p/13959753.html