zabbix 邮件报错 Support for SMTP authentication was not compiled in
来源:互联网 发布:儿童编程教材 编辑:程序博客网 时间:2024/06/04 01:36
服务器系统是centos6.5
zabbix版本是3.0.4
根据 网上教程配置好邮件脚本后,触发发送邮件的时候报错:
Support for SMTP authentication was not compiled in
官网说的是
To make SMTP authentication options available, Zabbix server should be
compiled with the –with-libcurl compilation option with cURL 7.20.0
or higher.
大概意思是说需要curl版本最低7.20.0,然后查看下自己的版本号
curl -V
发现是7.19
于是更新版本:
1.创建一个新文件 /etc/yum.repos.d/city-fan.repo
2.复制下面的到上面文件中:
[CityFan]name=City Fan Repobaseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel5/x86_64/enabled=1gpgcheck=0
3.更新安装
yum clean allyum install curl
查看是否更新成功:
curl -V
输出:
curl 7.50.1 //更新成功
接下来重新编译安装一次zabbix,具体编译安装跟之前一样。
如果编译过程中出现
libcurl library not found
可能有多种原因,可以参考我的解决方法是查看/usr/bin/curl-config文件版本号是否跟当前安装版本号一致,我用的笨方法直接去官方下载安装版本(我这是7.50.1)的包:
curl-7.50.1.tar.gz
解压后把里面的curl-config 替换掉 /usr/bin/ 的 curl-config文件,然后重新编译,成功
0 0
- zabbix 邮件报错 Support for SMTP authentication was not compiled in
- 发送邮件程序报错454 Authentication failed以及POP3和SMTP简介
- Drupal Module - SMTP Authentication Support
- 报错null was not declared in this scope
- 测试sphinx/coreseek xmlpipe2 support NOT compiled
- java实现邮件发送报错javamail could not connect to smtp host
- TOMCAT 关闭报错:Tomcat did not stop in time. PID file was not removed
- cudnn报错Loaded runtime CuDNN library: 5005 (compatibility version 5000) but source was compiled with
- 发送自动邮件时Could not connect to SMTP host: 10.1.1.195, port: 25;报错的解决方法
- org.springframework.security.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityC
- happybase1.0 报错:ThriftPy does not support generating module with path in protocol 'd'
- Could not find any matches for com.android.support:appcompat-v7:23.+报错的解决
- 关于发邮件报错535 Error:authentication failed解决方法
- 关于发邮件报错535 Error:authentication failed解决方法
- 关于发邮件报错535 Error:authentication failed解决方法
- Unity打包报错the given key was not present in the dictionary
- 安装win32com报错-Python Version 2.7 required which was not found in the registry 问题解决 .
- ruby 安装gem报错:`SSL_set_tlsext_host_name' was not declared in this scope
- HashMap 和HashTable 和HashSet
- Linux shell 之 提取文件名和目录名的一些方法
- Cadence Allegro导出以前封装的办法
- linux-用户及权限管理
- 有用网站集合记录
- zabbix 邮件报错 Support for SMTP authentication was not compiled in
- delphi资源文件制作及使用详解
- 感悟:安全创业商业模式及产品方向
- 链表
- View 滑动的实现方式
- 二叉树层次遍历
- 我怎么才能改变在webstorm现有文件的文件类型关联?
- Maven教程,学习
- typedef 的用法及 具体使用步骤。