Book Image

Zabbix Cookbook

By : Patrik Uytterhoeven, patrik uytterhoeven
Book Image

Zabbix Cookbook

By: Patrik Uytterhoeven, patrik uytterhoeven

Overview of this book

Table of Contents (18 chapters)
Zabbix Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring Zabbix for VMware


When we talk about virtualization, there are many solutions in the market these days. The biggest player is still VMware, and Zabbix made it much easier for us to monitor our VMware infrastructure. In this recipe, we will show you how to set up VMware monitoring in Zabbix.

Getting ready

For this recipe to work, we need of course, a Zabbix server with the necessary admin rights and of course a VMware server that we can monitor. VMware monitoring is available since Zabbix 2.2. The minimum required version of VMware vCenter or vSphere is 4.1.

How to do it…

If you compile Zabbix, then make sure that you compile it with the --with-libxml2 and --with-libcurl options, else VMware monitoring will not work.

  1. Since we make use of the packages, the only thing we have to do first is to enable the following options in the zabbix_server.conf file:

    • StartVMwareCollectors = 1

    • VMwareCacheSize = 8M

    • VMwareFrequency = 60

  2. Make sure you restart the Zabbix server after changes have been...