influxdata/telegraf

Proxmox Input Plugin exposes useless fields

Open

#10,617 创建于 2022年2月9日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Go (4,161 fork)batch import
feature requesthelp wantedsize/m

仓库指标

Star
 (9,892 star)
PR 合并指标
 (平均合并 2天 12小时) (30 天内合并 136 个 PR)

描述

Feature Request

The Proxmox Input Plugin exposes, among others, the following fields:

  • disk_used
  • disk_total
  • disk_free
  • disk_used_percentage

It exposes these for every VM running on Proxmox.

The issue is, Proxmox has no idea about disk usage of each VM, because without visibility into the running VM, Proxmox just see's the VM's disk file.

Proposal:

Report on the Proxmox host storage pool disk stats instead. Proxmox exposes these easily with the pvesm status command.

Current behavior:

The current behaviour gives completely meaningless values for the above metrics. Mostly it just reports back the size of the VM disk image (e.g. raw file size).

Desired behavior:

Ditch the above metrics and replace with Proxmox storage pool stats, e.g. these:

image

image

Use case:

I'd like to monitor the storage pool space in Proxmox! This goes for the entire plugin actually, I'd like to monitor Proxmox host stats not just individual VM's running in Proxmox.

贡献者指南