Templates available in Virtual Machines category
The below templates are available to check host/guest components of virtualization environment. Application templates explained.
The below templates belong to Virtual Machines category:
KVM Guest Machine Status checks sate variable and checks general health of “guest”, i.e. virtual machine itself; note that that doesn’t relate to checking actual OS running within the guest, it only refers to guest as seen from environment where it is running (“host”)
KVM Hypervisor Status provides the virtualization environment (hypervisor) state parameters, such as resources utilization, unused resources amount.
Virtual Machines monitoring use cases
- every computer running KVM-driven virtual machines (host) should be monitored using KVM Hypervisor Status template: all the vital metrics should be paid attention to, availability of host resources can significantly affect all the guest OS efficiency
- for every guest OS (virtual machine) running on KVM host, it is advised to create its own set of monitors using KVM Guest Machine Status template; not that for busy hosts with multiple guests the resulting amount of monitors can be large – select only those you do actually need
Virtual Machines monitoring tips
- there are command-line facilities, such as virsh for KVM/QEMU, that should be used wherever possible (they allow collecting data in one compact call)
- when using APIs, such as AWS APIs, use as little permissions as possible, even if using secure channels to collect data
- monitor activity on host; if unusually high disk I/O or other resources consumption happens, it will affect running guests as well
- keep guest/host polling reasonably infrequent: otherwise, you might affect guests’ performance