Ubuntu编译zabbix-4.0

1、从github上下载长期支持版本zabbix/zabbix at release/4.0 (github.com)

2、将源码包解压缩到Ubuntu系统中找到bootstrap.sh文件。在终端中运行此文件此时会生成configure文件

3、官方给出了编译方法和参数参见3 Installation from sources (zabbix.com)

4、编译server使用mysql数据库方式如下

./configure --enable-server --with-mysql --enable-ipv6 --with-net-snmp

 提示如下问题:

提示如下问题:

configure: error: MySQL library not found

解决:

sudo apt-get install libmysqlclient-dev

提示如下问题:

configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config

解决:

apt-get install snmp snmpd libsnmp-dev

提示如下问题:

configure: error: Unable to use libevent (libevent check failed)
解决:

apt-get -y install libevent-dev

提示如下问题:

configure: error: Unable to use libpcre (libpcre check failed)
解决:

apt-get -y install libpcre3-dev

成功:

***********************************************************
*            Now run 'make install'                       *
*                                                         *
*            Thank you for using Zabbix!                  *
*              <http://www.zabbix.com>                    *
***********************************************************

编译agent使用如下命令

./configure --enable-agent

 zabbix编译常规报错解决方法-月歌54-ChinaUnix博客

Ubuntu操作系统编译安装zabbix报错汇总 - JasonYin2020 - 博客园 (cnblogs.com)

其他源码流程解析:

zabbix:
客户端:
http://xiaorui.cc/archives/666
https://www.zabbix.com/documentation/4.0/zh/manpages/zabbix_agentd
https://blog.csdn.net/u011731378/article/details/80074821
https://www.cnblogs.com/mysql-dba/p/5010902.html
http://www.361way.com/zabbix-agent-key/3390.html
服务端:
https://blog.csdn.net/u011731378/article/details/74549776
https://blog.csdn.net/mcmoo/article/details/103396809
https://blog.51cto.com/u_15094852/4078700
数据库表:
https://www.cnblogs.com/wumingxiaoyao/p/7412312.html
https://www.cnblogs.com/xuefy/p/11422104.html
https://blog.csdn.net/zhangxueleishamo/article/details/94400572/
https://blog.csdn.net/weixin_34238642/article/details/93687290
https://www.xiaomastack.com/2014/07/03/zabbixdbtable/
https://wenku.baidu.com/view/8d56c7b489eb172ded63b7ea.html


https://www.zabbix.com/documentation/4.0/zh/manual/config/notifications/unsupported_item
https://blog.csdn.net/qq_39376481/article/details/90519852

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值