[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

相关文章:

  • 2021-08-03
  • 2021-11-08
  • 2021-04-16
  • 2022-12-23
  • 2021-11-12
  • 2021-07-29
猜你喜欢
  • 2021-10-27
  • 2021-09-10
  • 2021-10-16
  • 2022-12-23
  • 2021-09-28
相关资源
相似解决方案