問題1、zabbix proxy 與 server不能正常發送數據
zabbix-server容器報錯如下:
158:20200302:075118.359 cannot accept connection from proxy "log1" at "172.17.0.1", allowed address: "x.x.x.x": connection is not allowed 159:20200302:075119.360 cannot accept connection from proxy "log1" at "172.17.0.1", allowed address: "x.x.x.x": connection is not allowed
zabbix-proxy-server容器報錯如下:
143:20200302:155110.352 cannot send proxy data to server at "x.x.x.x": connection is not allowed 143:20200302:155111.353 cannot send proxy data to server at "x.x.x.x": connection is not allowed
原因分析:
出現上述的原因是由於zabbix代理在與server端進行通信的時候,需要通過docker0(ip為:172.17.0.1),在web界面配置代理的時候,並沒有在代理服務器的ip地址欄填上docker0這個地址,導致proxy與server不能正常發數據。
解決:

在代理地址這里同時吧docker0的地址填寫上去
