5.30. collectd::plugin::virt
使用 virt
插件,通过 libvirt
API 为主机上的虚拟机收集 CPU、磁盘、网络负载和其他指标。
默认在计算主机上启用此插件。
参数 | 类型 |
---|---|
连接 | 字符串 |
refresh_interval | hash |
domain | 字符串 |
block_device | 字符串 |
interface_device | 字符串 |
ignore_selected | 布尔值 |
plugin_instance_format | 字符串 |
hostname_format | 字符串 |
interface_format | 字符串 |
extra_stats | 字符串 |
配置示例:
ExtraConfig: collectd::plugin::virt::hostname_format: "name uuid hostname" collectd::plugin::virt::plugin_instance_format: metadata
其他资源
有关配置 virt
插件的更多信息,请参阅 virt。