MetricsHub
MetricsHub Community Connectors 1.0.06
Back to the list of connectors[1]
KVM, QEMU, Xen and Hypervisors (virsh)
Description
This connector enables hardware monitoring for VMs through the virsh command. The libvirt API must be installed on the host.
Source[4]
Target
Typical platforms: KVM, QEMU, Xen, Hypervisors
Operating system: Linux
Prerequisites
Leverages: libvirt API
Technology and protocols: Command Lines
Examples
CLI
metricshub HOSTNAME -t linux -c +Virsh --ssh -u USER
metricshub.yaml
resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: linux
connectors: [ +Virsh ] # Optional, to load only this connector
protocols:
ssh:
username: <USERNAME> # Change with actual credentials
password: <PASSWORD> # Encrypted using metricshub-encrypt
Connector Activation Criteria
The KVM, QEMU, Xen and Hypervisors (virsh) connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:
- The command below succeeds on the monitored host
- Command:
virsh list
- Output contains:
Name
(regex)
- Command:
Metrics
Type | Collected Metrics | Specific Attributes |
---|---|---|
vm |
|
|
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.