In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
As shown in the question, after configuring STMP in the panel of zabbix, the "Support for SMTP authentication was not compiled in" error occurred when testing to send mail. In fact, the reason for this problem is that the libcurl version on our machines is too low. We can know from the official documentation of zabbix that if zabbix3.x wants to use SMTP, it needs version 7.20.0 or above of curl and the zabbix server needs to add a-with-libcurl module when compiling and installing. The official text is as follows:
To make SMTP authentication options available, Zabbix server should be compiled with the-with-libcurl compilation option with cURL 7.20.0 or higher.
Then, I passed
[root@localhost] # curl-V
This command checks the curl version on my machine. Sure enough, the version is too low.
Curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 Basic ECC zlib/1.2.3 libidn/1.18 libssh3/1.4.2Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftpFeatures: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
So the solution is simple: upgrade curl, then recompile and install the zabbix server
(1) upgrade curl:
[root@localhost ~] # rpm-Uvh http://www.city-fan.org/ftp/contrib/yum-repo/rhel6/x86_64/city-fan.org-release-1-13.rhel6.noarch.rpm[root@localhost ~] # yum install libcurl
Note: if you find this error:
Error: Package: libcurl-7.49.1-3.1.cf.rhel6.x86_64 (city-fan.org) Requires: libnghttp2.so.14 () (64bit) You could try using-- skip-broken to work around the problem You could try running: rpm-Va-- nofiles-- nodigest
It can be solved as follows:
[root@localhost ~] # rpm-Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/libnghttp2-1.6.0-1.el6.1.x86_64.rpm[root@localhost ~] # yum install libnghttp2
Then reinstall curl:
[root@localhost ~] # yum install libcurl
(2) recompile and install zabbix3:
[root@localhost zabbix-3.0.3] # cd / usr/local/src/zabbix-3.0.3 [root@localhost zabbix-3.0.3] # / configure-- prefix=/usr/local/zabbix-- enable-server-- enable-agent-- with-mysql-- enable-ipv6-- with-net-snmp-- with-libcurl-- with-libxml2 [root@localhost zabbix-3.0.3] # make & & make install
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.