Now you can quickly add VMmanager to Zabbix monitoring to keep track of the status of your virtual
infrastructure and hosts. Zabbix added an integration script to its repository for this purpose. Read more
about installation in the article by ISPsystem DevOps Engineer Ilya Kalinichenko.
Is the VMmanager platform working? Is it responding to user requests?
Has an error occurred while running a task, such as creating a VM or changing the configuration?
What is the current condition of the nodes?
How are the services running on the node?
All of this information can be tracked in the widgets of the platform itself. Read more about this in Monitoring in VMmanager.
Another option is to add VMmanager to the Zabbix monitoring system. This is especially useful if you already use
Zabbix for other tasks - it is easier to monitor the status of services from the same point.
Connecting VMmanager to monitoring is easy enough - for this we wrote a template that Zabbix added to its
repository. I will explain how to use it below.
- name: Configure zabbix for VMmanager
UserParameter=vm.all,sudo virsh -q list --all | wc -l
UserParameter=vm.running,sudo virsh -q list | wc -l
8. Run the script on the nodes.
9. Add the nodes to Zabbix manually (Configuration -> Hosts -> Create host) or automatically:
9.1. Enter Configuration -> Hosts
9.2. Find VMmanager 6
9.3. Enter Discovery
List of nodes in Zabbix
9.4. Enter Host prototypes and enable Create enabled and Discover
Enabling automatic host discovery
9.5. Then go to Monitoring -> Hosts, find vm6, Click on the name, then on Inventory. On the
line, select Discovery
9.6. Select the line "VMmanager 6 Master: Host discovery" and press "Execute now"
9.7. Completed – Zabbix will create hosts by taking your cluster nodes via API
10. Zabbix will now keep track of nodes and tasks. It remains to configure sending of notifications:
10.1. Under Administration -> Media types, enable and configure your preferred method of sending
10.2. Under Administration -> Users, enable your Media in your user settings
10.3. Under Configuration -> Actions -> Trigger actions, enable event notifications for all Media
You will now be able to monitor the state of your infrastructure in VMmanager using Zabbix. Now we have added
settings to our template to track basic indicators. Tell us what metrics you would like to see in
Completed - VMmanager has been added to Zabbix monitoring. Now our template provides monitoring of the main
indicators of virtual infrastructure. Share in the comments what metrics you would like to have.
Subscribe to expert articles on server infrastructure management