编译命令:
安装位置、启用server端、启用agent端、启用snmp管理
从 Zabbix 3.0.0 起,STMP 认证需要需要 cURL 7.20.0 或更高版本的 --with-libcurl 配置选项。
从 Zabbix 2.2.0 起,虚拟机监控需要 --with-libcurl 和 --with-libxml2 配置选项。
./configure --prefix=/apps/zabbix --enable-server --enable-agent --with-mysql --with-libxml2 --with-libcurl --with-net-snmp
报错:
configure: error: MySQL library not found
缺少mysql-devel
configure: error: Not found libxml2 library
缺少libxml2-devel
configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config
缺少net-snmp-devel
configure: error: Curl library not found
缺少curl-devel