CentOS 6 升級 curl
阿新 • • 發佈:2018-07-02
1-1 art server vim 安裝 zabbix ons led 編譯安裝 zab
zabbix 發郵件報 Support for SMTP authentication was not compiled in
其實出現這種問題的原因是我們機器上的 libcurl 版本太低所致。在zabbix的官方說明文檔上我們可以知道:zabbix3.x要想使用SMTP,那麽需要7.20.0及以上版本的curl並且zabbix服務端在編譯安裝時需要添加–with-libcurl模塊,官方原文如下:
To make SMTP authentication options available, Zabbix server should be compiled with the –with-libcurlcompilation option with cURL 7.20.0 or higher.
升級 curl 操作如下:
rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-13.rhel6.noarch.rpm
vim /etc/yum.repos.d/city-fan.org.repo
修改所有 enabled=1
to enabled=0
yum --enablerepo=city-fan.org update curl
升級完成後,需要重新編譯安裝 zabbix
CentOS 6 升級 curl