cv4pve-metrics-exporter

Corsinvest Srl·Corsinvest.cv4pve.metrics-exporter

Metrics Exporter for Proxmox VE

cv4pve-metrics-exporter is a Prometheus metrics exporter for Proxmox VE that provides comprehensive monitoring data for your virtualization infrastructure. Features: - Prometheus metrics export for monitoring and alerting - Node health and status metrics - VM/Container resource usage and performance metrics - Storage capacity and usage metrics - Replication status monitoring - High Availability (HA) resource tracking - Subscription status monitoring - Disk SMART health monitoring - Customizable endpoint (host, port, URL path) - API token support for secure authentication - Multiple host support for HA configurations

winget install --id Corsinvest.cv4pve.metrics-exporter --exact --source winget

Latest 2.1.0·September 30, 2026

Release Notes

Breaking

  • cv4pve_replication_failed_total (counter) is replaced by cv4pve_replication_fail_count (gauge). Proxmox VE reports the failed attempts in a row, back to 0 at the first success: as a counter it never went down, and new failures after a recovery were not seen. Alert on cv4pve_replication_fail_count > 0. Fixed
  • Each scrape answered with the data of the previous one, and the first scrape after start was empty.
  • Concurrent API calls could receive each other's answers (the shared LastResult of the API client): each call now uses its own client, sharing connection and login.
  • A failed login or an unreachable cluster stopped the exporter. The scrape now answers HTTP 503, so Prometheus sets up to 0, and the exporter keeps running.
  • Series of objects that no longer exist were exported forever: a deleted guest or storage, a renamed guest, old tags, the previous version of an upgraded node, a guest later covered by a backup job, an offline node's per-node metrics.
  • Guest disk and network counters stayed frozen after a guest restarted or migrated; they now reset, and rate() works.
  • HA: cv4pve_ha_node_state never reported the node states, and cv4pve_ha_state did not use the states of the HA manager. Both now come from /cluster/ha/status/manager_status.
  • SMART: SAS disks, which report OK instead of PASSED, were exported as unhealthy.
  • The standard profile did not cache backup coverage (10 min) and subscription (1 h); a setting left out of the settings file now takes its standard value.
  • A call that failed was cached like a successful one and not retried until the cache expired.
  • Failed backup-coverage and balloon calls were not counted in cv4pve_scrape_errors_total (balloon: section="guest"), and cv4pve_scrape_last_success_timestamp_seconds advanced even when calls failed.
  • --debug and --log-level did not log the Proxmox VE API calls.
  • Under systemd without a WorkingDirectory the exporter hung at start (a file watcher on /); systemctl stop ended with exit code 143 and marked the unit failed; Type=notify reported ready before the endpoint was listening.
  • When the HTTP endpoint could not start (port taken, address not allowed) the exporter exited with code 0, so Restart=on-failure did not restart it.
  • As a Windows service, the log was not written anywhere; it now goes to the Event Log.
  • Help text of --settings-file. Changed
  • Documentation site: corsinvest.github.io/cv4pve-metrics-exporter, with every metric and label, the Prometheus scrape configuration, the systemd and Windows service setup, and the privileges the token needs; shorter README.
  • The HTTP endpoint is served by the exporter itself instead of the prometheus-net MetricServer: same Host, Port and Url, and each scrape waits for its own collection.
  • Updated Corsinvest.ProxmoxVE.Api.Extension and Api.Console to 9.2.4.
  • Product icon (Lucide chart-spline) and Windows executable icon.
  • Project metadata, symbols (Source Link, .snupkg) and code style aligned with the other cv4pve tools; shared cv4pve-tools CI workflow.
  • Test project with an in-memory Proxmox VE API. What's Changed
  • ci: use shared cv4pve-tools CI workflow and declare publish permissions by @franklupo in #5
  • Align project metadata, symbols and icon with the cv4pve tools by @franklupo in #6
  • docs: documentation site by @franklupo in #7
  • docs: "Options in a file" instead of "response files" by @franklupo in #8
  • fix: fresh data on every scrape, 503 on login failure, stale series, HA, counters, service lifecycle by @franklupo in #9
  • docs: drop the alerting page, align Permissions with cv4pve-report and cv4pve-diag by @franklupo in #10
  • docs: remove em dashes from docs, comments and CHANGELOG; SDK 9.2.4, theme 2.6.1 by @franklupo in #11
  • chore: release 2.1.0 by @franklupo in #12 Full Changelog: v2.0.0...v2.1.0

Installer type: zip

x86—F6E04FF6D80DFDD743DB9CED6D6B842C5434B3AE5A534CD6E50658C4177095A5
x64—913559340B658E1519E7BEAF36DFB2D189FE8A1FDFE54F100BECF9F6AB1377A2
arm64—D6CE309BAF0EA4BF6418670488558BE60C42984EFCCC5A9E0E29671E16C48DBE

Details

Homepage
https://github.com/Corsinvest/cv4pve-metrics-exporter
License
GPL-3.0
Publisher
Corsinvest Srl
Support
https://www.corsinvest.it/cv4pve
Privacy Policy
https://www.corsinvest.it/privacy
Copyright
Copyright (c) 2019-2025 Corsinvest Srl
Moniker
cv4pve-metrics-exporter

Tags

corsinvestexportermetricsmonitoringprometheusproxmoxproxmoxvevirtualization

Older versions (2)

2.0.0
x86—69A830CEA5CDEB64327DD83818961E17777986F87D57D2AD47EC51ACA92DB55E
x64—A7BF437A75EADEE0C09E325284F57CB7F4DEF411DDAFF86D3B04509F0585DCDC
arm64—694969B70103C698DAEBB8BF1C92F8315FFEE9AFBF7EC666F00C1DD038F9A935
1.7.0
x64—B49483282777E2DED88E6B659810466A8C7016EDD34E4349C3383280CBF74C47
x86—A524E2C6148A680825ED2CA2D89A90217AD98F62C8D97E03E998E76EE8598E6C
arm64—7542367979749000717B3D0C89FBC013E6CD38EB2FBCBF5347B03DEDE689B683