Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
728 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 Reply

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...