lang110 发表于 2019-1-24 10:57:53

使用zabbix过程中遇到的问题记录

  版本:zabbix-3.4
  问题一:cURL library is required for Web monitoring support
  
问题现象:在添加主机web监测时,状态一列提示错误:cURL library is required for Web monitoring support
原因分析:查看一下zabbix_server.log日志的报错信息,显示web monitoring NO,即zabbix编译安装时没有安装它
http://s1.运维网.com/images/20180707/1530939582123507.png
  解决办法:重新编译,重启zabbix_server 服务
#./configure --prefix=/usr/local/zabbix/ --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-net-web
  # make && make install
#/etc/init.d/zabbix_server restart
再次查看一下zabbix_server.log日志的报错信息,显示web monitoring YES
http://s1.运维网.com/images/20180707/1530939461984990.png
  结处理果:web监测,状态一列提示正常
http://s1.运维网.com/images/20180707/1530940137862351.png
  补充:
  1、在编译过程提示configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config
                解决方法:yum -y install net-snmp-devel
  2、在编译过程提示configure: error: Unable to use libevent (libevent check failed)
  解决方法:yum -y install libevent-devel
  

  问题二:
问题三:
问题四:
问题五:

  





页: [1]
查看完整版本: 使用zabbix过程中遇到的问题记录