zabbix--郵件告警報錯「Support for SMTP authentication was not compiled in」

zabbix 郵件告警報錯「Support for SMTP authentication was not compiled in」

郵件報警失敗:Support for SMTP authentication was not compiled inmysql

 

解決辦法:升級 curl 版本sql

具體操做步驟:vim

1)安裝 curl 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 url

# ./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
相關文章
相關標籤/搜索