В следующем примере описано, как настроить Zabbix для мониторинга виртуальных машин VMware. Это включает в себя:
В этом примере не рассматривается конфигурация VMware. Предполагается, что VMware уже настроено.
Прежде чем продолжить, установите параметр StartVMwareCollectors
в файле конфигурации сервера Zabbix в значение 2
или более (значение по умолчанию — 0
).
1. Go to Data collection → Hosts.
2. Create a host:
3. Click the Add button to create the host. This host will represent your VMware environment.
1. Click Discovery for the created host to go to the list of low-level discovery rules for that host.
2. Create a low-level discovery rule:
3. Click the Add button to create the low-level discovery rule. This discovery rule will discover virtual machines in your VMware environment.
1. In the list of low-level discovery rules, click Host prototypes for the previously created low-level discovery rule.
2. Create a host prototype. Since host prototypes are blueprints for creating hosts through low-level discovery rules, most fields will contain low-level discovery macros. This ensures that the hosts are created with properties based on the content retrieved by the previously created low-level discovery rule.
3. Click the Add button to create the host prototype. This host prototype will be used to create hosts for virtual machines discovered by the previously created low-level discovery rule.
After the host prototype has been created, the low-level discovery rule will create hosts for discovered VMware virtual machines, and Zabbix will start to monitor them. Note that the discovery and creation of hosts can also be executed manually, if necessary.
To view the created hosts, navigate to the Data collection → Hosts menu section.
To view collected metrics, navigate to the Monitoring → Hosts menu section and click Latest data for one of the hosts.