Error "0007": Zabbix cannot send mail because Curl version is too low

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.