1、進入zabbix的源碼文件夾,比如:/usr/local/src/zabbix-3.2.6
2、查看 config.log,即可發現當初編譯安裝的參數。如下例所示:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Zabbix configure 3.2.6, which was
generated by GNU Autoconf 2.69.? Invocation command line was
$ ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql=/usr/local/mysql/bin/mysql_config --enable-ipv6 --with-net-snmp --with-libcurl --enable-smtp
## --------- ##
## Platform. ##
## --------- ##
hostname = hostname.domain
uname -m = x86_64
uname -r = 2.6.32-696.3.2.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Tue Jun 20 01:26:55 UTC 2017
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch? = x86_64