Articles on: Plugins

Monitoring Virtual Machines (KVM, QEMU, Xen, Virtuozzo, VMWare ESX, LXC...)

This plugin keeps track of guest virtual machines on your server. The following metrics are monitored.

Virtual Machine metrics



- Disk read (bytes)
- Disk write (bytes)
- Disk read (requests)
- Disk write (requests)
- Networking out (bytes)
- Networking in (bytes)
- CPU Usage
- Memory Usage
- Memory min guaranteed
- Memory hard limit
- Memory soft limit

Plugin dependancies



apt-get install python-libxml2 libvirt-dev


This plugin needs the libirt-python plugin, you can install this by running pip install libvirt-python or pip3 install libvirt-python if you're running the agent on python3.

Testing the plugin



Run sudo -u nixstats nixstatsagent test vms to check if it's returning any data.

Enable the plugin



Open /etc/nixstats.ini and append the following lines at the end of the file.

[vms]
enabled = yes


Restart the plugin by running service nixstatsagent restart

Creating charts



Click on the Metrics link on the top menu, now select "vms" as metric type and cpu as metric, choose the servers you would like to graph and save it to your dashboard.

Updated on: 15/06/2020

Was this article helpful?

Share your feedback

Cancel

Thank you!