1. Error background
On centos6.5, the source deployment Zabbix the latest version zabbix-3.2.14. Error when configuring mail to send alerts after deployment
2. Error message
3. Cause analysis
The result of the retrieval from the Internet is that the Curl version in the system is too low and does not support the SMTP protocol. Such as
4. Solution
You need to update curl at this time
By wget https://curl.haxx.se/download/curl-7.61.0.tar.gz
downloading the latest version of the Curl source code
Decompression Configuration Compilation Installation
tar -zxvf curl-7.61.0.tar.gz -C /tmpcd /tmp/curl-7.61.0./configuremake && make install
After the installation is complete, you will also need to uninstall the previous old version via rpm
however , uninstalling the previous curl directly causes the Zabbix_server startup to fail,
The solution is:
At this point, although the ability to start the zabbix_server, but because the uninstall of curl, causing the Python-curl in the original system to fail, which also directly led to the Yum command can not continue to use
At this point, download pycurl-7.19.0.tar.gz, wget http://pycurl.sourceforge.net/download/pycurl-7.19.0.tar.gz
Unzip the configuration to compile the installation, at this time error:
This is because the Python-dev package is not installed in the system.
Copy the python-devel-2.6.6-51.el6.x86_64.rpm to the node from the centos6.5 image by rpm -ivh python-devel-2.6.6-51.el6.x86_64.rpm
installing
And then compile it again.
This solves both the Yum problem and the Zabbix using the latest version of Curl to send mail.
Latest curl information such as:
Error "0007": Zabbix cannot send mail because Curl version is too low