Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
859 views
in Technique[技术] by (71.8m points)

zabbix 监控vmware问题

系统:linux7 zabbix版本:2.2.16
使用zabbix监控vmware出了点问题,修改好zabbix_server.conf的三个参数

StartVMwareCollectors=5
VMwareFrequency=60
VMwareCacheSize=500M

后重启zabbix遇到报错

zabbix_server [6326]: ERROR: cannot start vmware collector because Zabbix server is built without VMware support

我怀疑是编译安装的时候没有加上--with-libxml2和--with-libcurl(可是我明明记得我是有加的),这是后就有问题了,我该怎么把--with-libxml2和--with-libcurl加上。
假设我原来的安装方式:

./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-openipmi --with-unixodbc --prefix=/apps/svr/zabbix
make install

那我现在要把--with-libxml2和--with-libcurl加上要怎么做?

./configure --with-libxml2 --with-libcurl --prefix=/apps/svr/zabbix
make install

这么加吗??
主要是因为zabbix已经在运行了,担心乱来又要重新弄。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...