zabbix 3.4.11 cannot initialize history storage: cURL library support >= 7.28.0 is required for ...

描述

zabbix配置历史数据存储到ES时,报错
cannot initialize history storage: cURL library support >= 7.28.0 is required for Elasticsearch history backend

解决方法
升级CURL

1、下载包
https://curl.haxx.se/latest.cgi?curl=tar.gz
去这个地址下载包
2、安装
make&&make install
应该很顺利就安装好了,默认安装在了/usr/local下了,所以把/usr/bin下之前的curl和curl-config命令替换为/usr/local/bin下的curl和curl-config命令(可以使用拷贝和链接的方法)
3、验证
curl --version

curl 7.61.0 (x86_64-pc-linux-gnu) libcurl/7.61.0 OpenSSL/1.0.1e zlib/1.2.3
Release-Date: 2018-07-11
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz UnixSockets HTTPS-proxy
重点来了

发现安装完后,启动zabbix依然报错,我都哭了,解决方法:
1、重新编译下zabbix_server

去zabbix的源码包中,重新编译
./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
然后
make
`没有make install呀`

2、替换

拷贝源码包中的zabbix_server到你的zabbix安装目录的sbin下
源码包中的zabbix_server的位置src/zabbix_server/zabbix_server

3、重新启动,应该是ok了


先写到这里了,如果有问题请加入qq群630300475,大家一起聊一下

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值