influxdata/telegraf

Proxmox Input Plugin exposes useless fields

Open

#10,617 opened on 2022年2月9日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Go (4,161 forks)batch import
feature requesthelp wantedsize/m

Repository metrics

Stars
 (9,892 stars)
PR merge metrics
 (平均マージ 2d 12h) (30d で 136 merged PRs)

説明

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.

コントリビューターガイド