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

发布时间 2023-06-08 16:35:53作者: 呼长喜

邮件报警失败: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