Monitoring Proxmox VE with Prometheus and Grafana

Connecting Proxmox VE to Prometheus and Grafana takes a read-only API token, a chosen collection method and a planned alerting path. This page explains each choice, the build sequence and the failure points.

On this page

How Prometheus and Grafana monitor Proxmox VE clusters

If you run Proxmox VE clusters, you need three kinds of visibility: node health, guest state and storage usage, plus the signals that drive capacity and HA alerts. Two collection paths are supported for getting that data out of Proxmox VE. The first is the community prometheus-pve-exporter, a pull model in which Prometheus scrapes the exporter over HTTP. The second is the OpenTelemetry metric server plugin, available since Proxmox VE 9.0, which pushes metrics over OTLP/HTTP to an external OpenTelemetry collector. The two paths do not share configuration, so choose one per environment and document the choice before you build dashboards on it.

Neither path replaces the storage and visualization layers. Prometheus stores the time series in its own local database and answers PromQL queries, and Grafana reads from Prometheus to draw dashboards and evaluate alert rules. Prometheus local storage is not clustered or replicated, so the node that holds your metrics is a single point of failure for your history. Confirm the retention you need, since the default is 15 days, and plan remote write if you need longer history. With the OpenTelemetry path, the collector is an additional component that must be deployed, secured and monitored in its own right.

The prometheus-pve-exporter is community software, not a Proxmox product, so its feature set, metric names and maintenance pace are yours to verify before you commit. Check its repository for the Python version it requires, which is Python 3.9 or later, and for how it is installed, either with pip or as the prompve/prometheus-pve-exporter container. This page does not assume connector features beyond what those sources document. Confirm with the project and with your own test cluster which metrics it exposes for nodes, VMs, containers and storage before you write alert rules against them.

What you need before connecting Proxmox VE to Prometheus

Five things decide whether the metrics pipeline works on the first attempt: the Proxmox VE version, the collector route, a read-only identity, network and TLS paths to every node, and a Prometheus host sized for retention. Check each one before you touch a node configuration, because changing them later means reworking tokens, firewall rules and storage.

Proxmox VE version and collector route

The OpenTelemetry metric server plugin requires Proxmox VE 9.0 or later, so any cluster still on Proxmox VE 8 must use a pull-based exporter or an upgrade plan first. Confirm the version on every node, not only the one you manage from. Mixed versions across a cluster complicate troubleshooting, so note which route each cluster uses before you deploy anything.

Proxmox VE roadmap

Python 3.9 for the exporter

The community prometheus-pve-exporter needs Python 3.9 or later when installed with pip. If you prefer the container route, the prompve/prometheus-pve-exporter image avoids host Python management, but you still own its update cycle. Record which runtime your team will patch, and who receives the security advisories for it.

Read-only API token for monitoring

Create a dedicated user and a limited API token using the worked example in the Proxmox VE user management chapter, granting only the audit-level privileges the exporter needs. Do not reuse an administrator account or a token that can change configuration. Store the token secret in your secrets manager, and plan a rotation date so the credential does not outlive the person who created it.

User management chapter

Network paths and TLS to every node

Prometheus or the collector must reach the API port on every node, not only a single entry point, because cluster metrics are gathered per node. Confirm firewall rules in both directions and verify that the node certificates are trusted by the scraper. Decide whether to use a trusted internal CA or skip verification for a lab, and document the choice, since skipped verification is easy to forget in production.

Prometheus host and local storage

Prometheus stores data on local disk and is not clustered or replicated, so the host needs its own backup and recovery plan. The default retention is 15 days, configurable by time or size, so size the disk for your chosen retention and sample volume before go-live. Confirm with your team how long capacity and HA trend data must remain available for planning and audit.

Prometheus storage docs

Grafana database for production

Grafana stores configuration in SQLite by default, but its installation docs say SQLite does not scale for production. Plan MySQL 8.0 or later, or PostgreSQL 12 or later, before dashboards become shared operational tooling. High availability also requires two or more active-active Grafana servers behind a load balancer sharing that database, so decide early whether you need it.

Grafana install docs

Choosing between the pull exporter and the OpenTelemetry metric server

The community prometheus-pve-exporter suits teams that already run Prometheus and want the Prometheus data model without another hop. Prometheus reaches out and scrapes the exporter on a schedule, so the monitoring team controls scrape intervals, relabeling and alert rules in the place they already maintain them. The exporter is a community project, so the team that runs it owns its install, its Python runtime and its upgrades.

  • Operator: the team that already runs Prometheus usually also owns the exporter, including its Python 3.9 or later runtime or its container image.
  • Credentials: the exporter holds a read-only Proxmox VE API token for monitoring, stored in its configuration on the exporter host and not on each node.
  • Network: Prometheus must reach the exporter over HTTP, and the exporter must reach the Proxmox VE API on each node or cluster endpoint it queries.
  • Data model: metrics arrive as Prometheus samples, so existing PromQL queries, recording rules and alert rules apply without translation.
  • Failure surface: if the exporter stops, Prometheus reports a failed scrape, which makes outages easy to see.

Before you rely on it, confirm the metric names and labels your chosen version emits against your own alert rules.

Configuring the exporter, token, Prometheus and Grafana in sequence

This sequence takes a Proxmox VE cluster from no monitoring to node, guest and storage metrics in Prometheus, dashboards in Grafana and capacity and HA alerts routed through Alertmanager. Each step ends with a check so the next one starts from a known state.

  1. Create a dedicated monitoring user and token

    Create a separate Proxmox VE user for monitoring, assign it only the read-oriented role and privileges the exporter needs, and generate a limited API token for it. Follow the worked monitoring example in the Proxmox VE user management chapter, and confirm with your own environment team which privileges apply to your version. The step is done when a test API call made with the token returns node and guest data, and the same call with a deliberately wrong secret is rejected.

  2. Install prometheus-pve-exporter on a monitoring host

    Install prometheus-pve-exporter with pip on a Python 3.9 or later host, or run the prompve/prometheus-pve-exporter container if your team standardizes on containers. Store the token in a file readable only by the service account, not in a shared command line. The step is done when the exporter starts and a local HTTP request to its metrics endpoint returns Proxmox VE node and guest series without authentication errors in the logs.

  3. Add the Prometheus scrape job

    Add a scrape job to the Prometheus configuration that points at the exporter, using the target and parameters the exporter documentation describes for your cluster nodes. Validate the configuration file before reloading Prometheus. The step is done when the target appears on the Prometheus targets page with the state up and a PromQL query for a Proxmox VE node metric returns a value.

  4. Confirm storage and guest series are present

    Query storage usage, guest status and CPU and memory series for each node in the cluster, and compare the list of guests against the Proxmox VE web interface. Missing nodes or guests usually point to token privileges or to a target that only reaches one node. The step is done when every node and the expected guests appear in the query results, and you have recorded which series you will alert on.

  5. Provision the Grafana data source and dashboards

    Define the Prometheus data source and the dashboard provider in Grafana provisioning files so they load at startup rather than being built by hand. Keep dashboard JSON under version control and load it from the provisioned path. For production, confirm the Grafana database choice against the installation and high availability documentation before you rely on it. The step is done when Grafana restarts cleanly, the data source test succeeds, and a node CPU panel shows data for the last hour.

  6. Write capacity and HA alert rules

    Write Prometheus alert rules for storage usage, memory pressure, guests that stop running and nodes that stop reporting, with thresholds your operations team agrees on. Include rules that reflect HA state where the exporter exposes it. Load the rule file and check it with the rule validation tool. The step is done when each rule shows as inactive or pending in the Prometheus rules page and one deliberately low test threshold fires as expected.

  7. Route alerts through Alertmanager

    Point Prometheus at every Alertmanager instance, define receivers and routing for capacity and HA alerts, and set grouping and silences that match your on-call process. If you run more than one Alertmanager, enable its cluster flags rather than placing a load balancer in front of it. The step is done when the test alert arrives at the receiver through the routing tree, and a silence created in Alertmanager suppresses a repeat notification.

How metrics flow from nodes to Grafana and alerts

The flow starts at the Proxmox VE API, which the monitoring side reads with a read-only token through either the community exporter or the OpenTelemetry metric server. Prometheus then scrapes or receives those metrics, Grafana queries Prometheus for dashboards, and Prometheus forwards firing alerts to Alertmanager. Check where the token lives, which network carries each hop, and that Prometheus points at every Alertmanager instance.

Metrics and alerts move from the Proxmox VE API through Prometheus to Grafana and Alertmanager.

Mapping Proxmox VE objects to Prometheus labels and dashboards

Decide the label scheme before the first dashboard or alert rule, because every query, dashboard variable and alert inherits it. The prometheus-pve-exporter reports node, guest and storage series, and the labels you can join on usually identify the cluster, the node, the guest by its VMID and name, the guest type (KVM or LXC) and the storage pool. Confirm the exact label names your exporter version emits by querying the exporter endpoint and inspecting the series in Prometheus, since names can change between versions. Add a cluster label in the scrape configuration so that two clusters with overlapping VMIDs stay separate. VMIDs are unique within a cluster, so a guest is only identified by the pair of cluster and VMID.

Use those same labels for capacity and HA alerts. Capacity rules for storage and memory should group by node or storage pool, and a rule that fires on a pool should name the pool and cluster in its annotations. HA rules depend on a stable node identity: if a node is renamed or replaced, the series for the old name stop, and a node-down alert can go silent without warning. Write a short mapping table for your team that lists each label, its source and its owner, and review it after every exporter upgrade. Avoid adding per-disk or per-interface labels to alert expressions, since they multiply series quickly and make the dashboards slow.

Grafana's access controls determine who can use these dashboards and which folders they can see. LDAP, generic OAuth, Entra ID and Okta are listed as available in all Grafana editions, so a directory-backed login for operators works without an Enterprise license. SAML, team sync, active sync and SCIM provisioning are Enterprise or Cloud features, so a team-scoped folder model that depends on group sync needs an edition check first. Ask your Grafana contact for the current edition feature matrix in writing, and confirm how your chosen Grafana authentication options map groups to roles before you publish the dashboards to operators.

Which Proxmox VE objects drive which alerts

This table maps the node, guest, storage and HA signals that the exporter can collect to the dashboard panel and alert rule each one supports. Use it to decide which signals get a panel, which get a paging alert and which stay as trend views, and treat every threshold as a value your team sets after observing its own baseline.

Proxmox VE objectSignal to collectDashboard panelAlert rule to consider
Node CPUCPU utilization per node from the exporter's node metricsPer-node CPU over 24 hours with cluster total beside itSustained high CPU on one node; threshold and duration set by your team
Node memoryUsed and total memory per nodeMemory used against capacity, per nodeMemory headroom below a level your HA failover plan requires
Storage capacityUsed and total space per storage pool, including Ceph or ZFS pools where exposedPool fill level and growth rate over weeksProjected fill date falling inside your procurement lead time
Guest stateRunning or stopped state per VM and containerGuest count by state and by nodeGuest unexpectedly stopped, filtered to guests that should be running
Guest resource useCPU, memory and disk I/O per guestTop guests by CPU and memory, with node placementGuest pinned near its configured memory limit for an extended period
HA-managed servicesHA service state and node placement reported by the clusterHA resources by state, with current node shownHA service not in started state for longer than your restart window
Cluster membership and quorumNode online status and quorum presenceCount of online nodes against expected totalAny node offline or quorum lost; confirm the signal exists in your exporter version

Hardening the monitoring path

Monitoring adds its own attack surface: a Proxmox VE token that can read cluster state, an exporter that answers anyone who can reach it, a Grafana endpoint that exposes metrics, and a time series store that holds a detailed record of your infrastructure. The cards below cover each link in that path, from the token that reads Proxmox VE to the collector that receives telemetry.

Scope the read-only monitoring token

The API token used by the exporter should carry only the privileges needed to read node, guest and storage statistics, and it should be a separate user rather than a personal administrator account. The Proxmox VE user management chapter includes a worked example of a limited monitoring token, which is a good baseline to adapt. Confirm that the token cannot start, stop, migrate or modify guests by testing it against a sample API call. Plan a rotation date and record who owns the token.

User management chapter

Keep the token out of shared config

The exporter configuration holds the token secret, so the file should be readable only by the service account that runs the exporter, and it should not be committed to Git or copied into shared dashboards. Container deployments should pass the secret through a mounted file or the platform's secret store rather than an environment variable visible in process listings. Ask who can read the Prometheus and Grafana provisioning directories, since those are often shared more widely than the exporter itself.

Restrict hosts that reach the exporter

The exporter translates Proxmox VE data into Prometheus metrics, so only the Prometheus servers that scrape it should be able to open its port. Enforce this with host firewall rules on the exporter host and with network policy between segments, and do not publish the port on a general management network. Verify the rule by scraping from an unapproved host and confirming the connection fails. Document which Prometheus instances are allowed so that new scrapers go through review.

Require authentication on Grafana metrics

Grafana exposes its own metrics endpoint, and the security hardening guidance recommends requiring authentication for it so that version and internal state are not visible to unauthenticated users. Pair this with hiding the version from unauthenticated users and restricting the endpoint to the monitoring network. Test the setting by requesting the endpoint without credentials and confirming it is refused. Review the setting again after each Grafana upgrade, because defaults can change between releases.

Grafana hardening docs

Set Grafana cookie and browser policies

Grafana sessions are carried in cookies, so secure and SameSite cookie settings should be enabled to keep them off plain HTTP and out of cross-site requests. A Content Security Policy and Trusted Types further limit what injected script can do in the dashboard. Confirm these settings in the running instance, not only in the configuration file, by inspecting response headers and cookie flags in a browser. Note that stricter policies can break custom panels or plugins, so test dashboards after each change.

Treat Prometheus storage as one node

Prometheus local storage is a single-node database that is not clustered or replicated, so a disk failure or a deleted data directory means lost history. Plan the disk, backup of the data directory and the retention period, which defaults to 15 days, to match how far back capacity and HA reviews need to look. Remote write to external long-term storage is the usual way to keep history beyond the local window, and that destination needs its own access controls. Ask who owns the recovery procedure for this node.

Prometheus storage docs

Authenticate OpenTelemetry Collector connections

If you use the OpenTelemetry metric server, the Collector receives metrics over OTLP/HTTP, so authenticator extensions decide who may send data. An OIDC-based authenticator can check incoming connections on the receiver, and the oauth2client extension can add credentials to outgoing exporter requests. Choose one credential model per path, keep client secrets in a protected store, and review the configuration best practices before exposing any receiver beyond the management network. Check the stability level of each component you use in its README before committing to it.

Collector best practices

Why Proxmox VE metrics stop reaching Grafana

This table lists the failures that most often stop Proxmox VE metrics or alerts from reaching Grafana, with the likely cause and the fix for each. Check the rows in order against the exporter, Prometheus, Alertmanager and Grafana logs, since several symptoms look alike from the dashboard. Treat the causes as the first things to verify in your own environment rather than a complete diagnosis.

SymptomLikely causeFix
Exporter returns authorization or permission errors for guest or storage metricsThe monitoring API token lacks read privileges on the paths the exporter queries, or the token was created with privilege separation the role does not coverRecreate the limited monitoring token following the worked example in the Proxmox VE user management chapter, then grant read-only roles on the required paths and test with a direct API call
Exporter fails to start or crashes on importThe host runs a Python version older than 3.9, which prometheus-pve-exporter requiresInstall Python 3.9 or later, or use the prompve/prometheus-pve-exporter container, and reinstall the package into that interpreter's environment
Scrape fails with a certificate verification errorThe Proxmox VE API uses a certificate that the exporter does not trust, such as the default self-signed certificate or an internal CAInstall the internal CA on the exporter host and keep verification on; if verification is disabled temporarily, record it as an exception and schedule its removal
Prometheus target shows down with connection refused or timeoutsThe exporter is not listening on the address Prometheus scrapes, a firewall blocks the port, or the target list points at the wrong nodeConfirm the bind address and port, check host firewall rules between Prometheus and the exporter, and list every node you intend to monitor as a target
Prometheus disk fills and the server stops ingestingDefault retention is 15 days and local storage is not replicated, so size or series growth exceeded the planned diskSet retention by time or size to match disk capacity, alert on free disk space, and move long-term history to remote write storage if you need longer periods
Grafana sends the same alert several timesTwo or more Grafana servers evaluate the same alert rules in a high availability setup without the alerting configuration needed to avoid duplicatesApply the Grafana high availability alerting configuration from the official guide, test a notification in a non-production setup, and confirm only one notification path fires
Alerts fire in Prometheus but nobody is notifiedPrometheus was pointed at a load balancer in front of Alertmanager instead of at each Alertmanager instance, so alerts can reach only some instancesList every Alertmanager instance in the Prometheus alerting configuration and send alerts to each one directly; configure the Alertmanager cluster flags for high availability
Grafana dashboards are empty after a Proxmox VE upgradeThe exporter or its Python dependencies were not updated for the new Proxmox VE API output, or the dashboard queries reference renamed metricsCheck the exporter release notes against your Proxmox VE version, upgrade the exporter in a test environment first, and re-import or adjust dashboard queries before production rollout

Questions teams ask before monitoring Proxmox VE with Prometheus

Does Prometheus cost anything to license?

No. Prometheus is licensed under Apache-2.0 and has no paid enterprise edition of the project itself, and Alertmanager is part of the same open-source toolkit. Your costs come from the infrastructure that runs Prometheus and Alertmanager, the storage that holds the time series, the implementation work to connect your clusters, and the people who keep the stack running after it goes live. The prometheus-pve-exporter is also community software, so its licensing and maintenance status should be checked in its repository before you standardize on it. Ask any partner to separate one-time implementation costs from recurring infrastructure and support costs in the quote.

What does Grafana Enterprise or Grafana Cloud cost?

Take current figures from the Grafana pricing page, because prices and tiers change. Grafana itself is open source, so the core dashboards and alerting do not require a license. Grafana Enterprise is a commercial option that adds features such as SAML, team sync and SCIM provisioning, and Grafana Cloud is a hosted service with a free tier, a Pro tier with a monthly platform fee plus usage, and an Enterprise tier with a minimum annual commitment. Decide early whether you need any of those features. If you do not, the self-hosted open-source edition may cover your needs, and you should confirm that against your identity requirements.

How much effort does a Prometheus and Grafana monitoring setup take?

Effort depends mostly on four things: how many Proxmox VE clusters and nodes you collect from, how long you keep metrics, how carefully you design alert rules, and how highly available the monitoring stack must be. A single cluster with a short retention window and a handful of capacity and HA alerts is a much smaller job than several sites with long retention, remote storage and paging rules. Plan time for the read-only monitoring token, exporter or OpenTelemetry setup, dashboards, alert testing and documentation. Ask for the scope in writing, including which clusters, which alerts and which retention period are in it.

Does monitoring Proxmox VE need a high availability design?

It depends on how much you rely on alerts. Prometheus local storage is not clustered or replicated and should be managed like any other single-node database, so a single Prometheus server can be a single point of failure for metrics and alerts. Alertmanager can run as a cluster, and Prometheus should point at every Alertmanager instance rather than a load balancer. Grafana high availability uses two or more active-active servers behind a load balancer sharing a MySQL or PostgreSQL database, and SQLite is not suitable for production. Each of these adds hosts, databases and configuration, so include them in the effort estimate when you decide how resilient the stack needs to be.

Can our own team set this up without a partner?

Yes, if your team has Linux, Prometheus, Grafana and Proxmox VE experience and time to test. The steps are well documented: create a limited API token for monitoring using the Proxmox VE user management chapter, run the exporter or configure the OpenTelemetry metric server, scrape the targets, build dashboards and write alert rules. The harder parts are alert design that avoids noise, retention and disk sizing, securing the metrics and Grafana endpoints, and keeping the stack patched. A partner is useful when you want a fixed scope, a tested alert set and a handover, rather than an open-ended project.

What does the team need to provide for this work?

Expect to provide access to the Proxmox VE clusters for the read-only monitoring token, a place to run Prometheus, Alertmanager and Grafana, and storage sized for your retention target. You also need named owners who can receive alerts, approve alert thresholds and decide how the team responds to capacity or HA warnings. Identity integration, such as an external login for Grafana, needs your directory or identity provider team. Confirm network paths from the monitoring hosts to every node, and agree on where secrets such as the API token are stored.

Which alerts matter most for Proxmox VE capacity and HA?

Start with alerts that protect quorum, guest availability and free capacity. Useful categories include nodes that stop reporting, storage pools approaching full, memory and CPU pressure on hosts, guests that stop unexpectedly, and HA services that are not in the expected state. Test each rule against a real or planned failure before you trust it, and keep the number of paging alerts small. Your alert list should be reviewed after the first few weeks, because thresholds that suit one cluster may not suit another. Confirm metric names against the exporter or OpenTelemetry output you actually deploy.

Does Prometheus store metrics for long periods?

By default, Prometheus keeps data for 15 days, and retention can be set by time or size. Longer retention increases disk use on the Prometheus host, and the storage docs describe local storage as a single-node database, so plan backups and capacity accordingly. For long-term retention, Prometheus supports remote write to external storage systems, which adds another system to design, secure and operate. Decide how long capacity and HA trends need to be kept before you size the disks, and ask any partner to state the retention assumption in the quote.

Testing alert rules and keeping the stack current

Alert rules for capacity and HA are only trustworthy after they have fired on purpose. Before go-live, run the capacity and HA rules against a non-production cluster that mirrors your production node count, storage type and watchdog setup. Simulate the conditions the rules describe: push a node's memory or storage above the threshold for the rule's for duration, stop the pve-cluster or corosync service on one node to drop quorum, and take a node offline to confirm that HA moves guests and that the node-down alert fires. Record how long each alert takes to appear, because a rule that fires late can be as useless as one that never fires. Confirm the values in the prometheus-pve-exporter output match what the Proxmox VE web interface shows, since a mislabeled metric can make a correct rule look broken.

Next, verify notification delivery end to end. Prometheus sends alerts to Alertmanager, which applies grouping, inhibition and silences before notifying your receivers. Point Prometheus at every Alertmanager instance rather than a load balancer, and if you run Alertmanager as a cluster, test that a single receiver notification arrives when one instance is stopped. Check that inhibition rules suppress guest-level alerts when a whole node is down, and that the on-call route reaches a person outside the monitoring team's chat tools. The Alertmanager documentation describes these settings. Keep a written test log with dates and results, because it doubles as operational evidence.

Plan upgrades as a standing task. Prometheus publishes a new minor release every 6 weeks, and minor releases generally stop receiving bug fixes after that period, so most teams should track the long-term support line. The current LTS line is 3.13, supported until July 31, 2027, and the LTS 3.5 line has reached end of life. Grafana minor releases are supported for 9 months and the last minor of a major version for 15 months, so schedule Grafana minor upgrades on a fixed cadence. Upgrade the exporter whenever Proxmox VE changes its API, and retest dashboards and rules after each upgrade. Prometheus does not provide 100% accuracy and is not suited to billing-grade data, so keep alerts and dashboards for operations and capacity planning, and confirm with your auditors where any metric is used as evidence.

How DeployOpen scopes and delivers Proxmox VE monitoring

DeployOpen plans and builds Proxmox VE monitoring inside your own infrastructure, starting from a written scope that names the exporter or metric server, the token, the dashboards and the alert rules. Each piece is tested against your clusters and handed over so your team can run it after the engagement ends.

How we scope

  • Engagements are fixed-scope, with the monitoring sources, clusters, nodes and guest types agreed in writing before work starts.
  • The written scope names the collection path, either prometheus-pve-exporter or the OpenTelemetry metric server, and where its data will be stored.
  • We confirm the read-only API token design, the Prometheus and Grafana hosting locations and the capacity and HA alerts you need.

How we build

  • We create the monitoring token with read-only permissions and verify that it can read the metrics without any write access.
  • We configure Prometheus scrape targets, retention and Grafana data sources, then check that node, guest and storage series arrive as expected.
  • We build dashboards and alert rules for capacity, quorum and HA state, and test each alert against a controlled condition before sign-off.

How we hand over

  • Deliverables include configuration files, token setup steps, dashboard definitions and the alert rule set, kept in a repository your team controls.
  • We document how the Grafana provisioning files load dashboards and data sources, so changes can be reviewed and rolled back.
  • Handover covers operating runbooks for exporter upgrades, token rotation, alert tuning and what to do when a scrape target goes silent.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers that cover the monitoring stack after handover.
  • Support can include checking exporter and Proxmox VE version compatibility before you upgrade a cluster.
  • Ask for the support scope, response expectations and upgrade responsibilities to be written into the agreement before work starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.