Templates: Virtual Machines – KVM Guest Machine Status

Monitors included into Other Applications and Services – KVM Guest Machine Status template

The monitors from this application template check KVM guest machine status: harddisk and network errors, host CPU and memory usage. Collects data over SSH. Replace ‘default’ with an actual domain name. This template treats a guest machine as an application running on the hypervisor host. The monitors from this application template collect their data over SSH, hence the sshd daemon should be running on the host and the user from the provided credentials should be a member of ‘libvirtd’ group. The monitors from this application template use the first in ‘virsh list’ output guest machine by default, you can replace the ‘default’ name with an actual domain name in the monitor’s script arguments to monitor an actual guest machine. More about templates.

Monitors list

Monitors description

Guest state (enabled by default) Guest status: 1 is running. Replace ‘default’ with an actual domain name. This is a match monitor: the discovery wizard uses it to check if the tesmplate can be applied to the host.

Guest block device errors (enabled by default) Guest block device (harddisk) errors, 0 is OK. Sums errors from all block devices of this guset machine. Replace ‘default’ with an actual domain name.

Guest network errors on all interfaces (enabled by default) Network errors count on all the network interfaces of the guest machine. 0 is OK. Replace ‘default’ with an actual domain name.

Guest free memory, % Free memory on the guest machine, %. Replace ‘default’ with an actual domain name.

Guest host CPU usage, % Host CPU used by the guest machine. Replace ‘default’ with an actual domain name. Requires ‘virt-top’ utility.

Guest host memory usage, % Host memory used by the guest machine. Replace ‘default’ with an actual domain name. Requires ‘virt-top’ utility.

Guest used memory, Mb Guest used memory, Mb. Replace ‘default’ with an actual domain name.