码迷,mamicode.com
首页 > 其他好文 > 详细

zabbix--邮件告警报错“Support for SMTP authentication was not compiled in”

时间:2019-05-08 21:45:48      阅读:150      评论:0      收藏:0      [点我收藏+]

标签:disable   inux   oca   eve   查看   搜索   告警   解决   ftp   

zabbix 邮件告警报错“Support for SMTP authentication was not compiled in”

邮件报警失败:Support for SMTP authentication was not compiled in

 

解决办法:升级 curl 版本

具体操作步骤:

1)安装 curl 

# rpm -Uvh  http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-2-1.rhel6.noarch.rpm
# yum --showduplicates list curl --disablerepo="*" --enablerepo="city*"        #搜索curl查看是否有高版本的
# vim /etc/yum.repos.d/city-fan.org.repo    修改该repo的enable为1
[city-fan.org]
name=city-fan.org repository for Red Hat Enterprise Linux (and clones) $releasever ($basearch)
#baseurl=http://mirror.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch
mirrorlist=http://mirror.city-fan.org/ftp/contrib/yum-repo/mirrorlist-rhel$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-city-fan.org
# yum install curl

2)重新编译zabbix 

# ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --enable-proxy --with-mysql=/usr/local/mysql/bin/mysql_config --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
# make install
# /etc/init.d/zabbix_server stop
# /etc/init.d/zabbix_server start

 

zabbix--邮件告警报错“Support for SMTP authentication was not compiled in”

标签:disable   inux   oca   eve   查看   搜索   告警   解决   ftp   

原文地址:https://www.cnblogs.com/yanjieli/p/10814818.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!