Zabbix 3.0监控Esxi 主机

Zabbix 3.0 添加监控 Esxi 主机

Zabbix 版本 3.0.3

Esxi 5.5

zabbix 需要编译的时候要支持–with-libxml2 和 –with-libcur

(前者用来解析调用SOAP接口返回的XML,后者用来调用vcenter的SOAP接口),

yum安装的默认支持。

参数说明:

StartVMwareCollectors(0-250) 只有大于0时才能是该功能生效,意为预先配置的vmware监控实例数量。

VMwareCacheSize(256K-2G)内存中维护的vmware集群结构的大小,建议80M。

VMwareFrequency(10-864000)zabbix获取更新vmware集群结构的最小间隔时间,单位为分钟。

vi /etc/zabbix/zabbix_server.conf

StartVMwareCollectors=0

VMwareCacheSize=80M

VMwareFrequency=60

重启服务:

systemctl restart zabbix-server.service

查日志:

 cat /var/log/zabbix/zabbix_server.log

日志显示效果:

 29343:20170314:104414.771 ****** Enabled features ******

 29343:20170314:104414.771 SNMP monitoring:          YES

 29343:20170314:104414.771 IPMI monitoring:          YES

 29343:20170314:104414.771 Web monitoring:            YES

 29343:20170314:104414.771 VMware monitoring:        YES

 29343:20170314:104414.771 SMTP authentication:      YES

 29343:20170314:104414.771 Jabber notifications:      YES

 29343:20170314:104414.771 Ez Texting notifications:  YES

 29343:20170314:104414.771 ODBC:                      YES

 29343:20170314:104414.771 SSH2 support:              YES

 29343:20170314:104414.771 IPv6 support:              YES

 29343:20170314:104414.771 TLS support:              YES

 29343:20170314:104414.771 ******************************

说明正常

3模板在zabbix中已经预先配置好了,对于vcenter的HOST,指定为Template Virt VMware。

一些Zabbix相关教程集合

ZABBIX 的详细介绍请点这里
ZABBIX 的下载地址请点这里

猜你喜欢

转载自www.linuxidc.com/Linux/2017-03/141920.htm
今日推荐