failed to update local proxy configuration copy: unexpected field "hosts.available"解决(示例代码

Posted zdoubly

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了failed to update local proxy configuration copy: unexpected field "hosts.available"解决(示例代码相关的知识,希望对你有一定的参考价值。


说明可以向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"

 [[email protected] ~]# 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.


[[email protected] ~]# 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
[[email protected]-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"解决(示例代码的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu 执行apt-get update报错Failed to fetch

微信小程序,报错,failed to load local image resource /pages/

Failed to set locale, defaulting to C.UTF-8 centos8.2报错

Ubuntu sudo apt-get update提示 Failed to fetch,解决办法

写MapReduce程序时遇到错误Error: INFO - Job job_local1832672383_0001 failed with state FAILED due to: NA

certificate verify failed: unable to get local issuer certificate