1. 程式人生 > >failed to update local proxy configuration copy: unexpected field "hosts.available"解決

failed to update local proxy configuration copy: unexpected field "hosts.available"解決

fyi fig transacti mys soft nbsp 3.4 獲取 local


說明可以向server端獲取到請求

13085
:20180720:152015.832 received configuration data from server at "10.10.251.48", datalen 14591 13085:20180720:152015.857 failed to update local proxy configuration copy: unexpected field "hosts.available"

[root@zabbix-server-server ~]# zabbix_server -V
zabbix_server (Zabbix) 3.4.10
Revision 81503 4 June 2018, compilation time: Jun 4 2018 11:45:46

Copyright (C) 2018 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.


[root@proxy1 ~]# zabbix_proxy -V zabbix_proxy (Zabbix)
3.4.11 Revision 82160 25 June 2018, compilation time: Jun 25 2018 09:01:58 Copyright (C) 2018 Zabbix SIA License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it according to the license. There is NO WARRANTY, to the extent permitted by law.

去goole查詢後,發現是版本不統一的產生的bug

升級zabbix-server
[root@zabbix-server-server tmp]# yum update zabbix-server
Running transaction
  Updating   : zabbix-server-mysql-3.4.11-1.el7.x86_64                                                                                                                                             1/2 
  Cleanup    : zabbix-server-mysql-3.4.10-1.el7.x86_64                                                                                                                                             2/2 
  Verifying  : zabbix-server-mysql-3.4.11-1.el7.x86_64                                                                                                                                             1/2 
  Verifying  : zabbix-server-mysql-3.4.10-1.el7.x86_64                                                                                                                                             2/2 

Updated:
  zabbix-server-mysql.x86_64 0:3.4.11-1.el7                                                                                                                                                            

Complete!
最後重啟zabbix-server
查看zabbix-proxy端日誌

13602:20180720:154510.492 received configuration data from server at "10.10.251.48", datalen 14497
13602:20180720:154710.527 received configuration data from server at "10.10.251.48", datalen 14497
13602:20180720:154910.556 received configuration data from server at "10.10.251.48", datalen 14497
13602:20180720:155110.585 received configuration data from server at "10.10.251.48", datalen 14497
13602:20180720:155310.613 received configuration data from server at "10.10.251.48", datalen 14497
13602:20180720:155510.642 received configuration data from server at "10.10.251.48", datalen 16065

報錯已經沒了

failed to update local proxy configuration copy: unexpected field "hosts.available"解決