Zabbix Proxmox VE monitoring with API tokens

Connect Zabbix to Proxmox VE with the official Proxmox VE by HTTP template, a dedicated monitoring user and an API token scoped to read access. This page covers the setup sequence, permissions, guest agent data and common failures.

On this page

How Zabbix monitors Proxmox VE clusters with an API token

The supported way to monitor a Proxmox VE cluster from Zabbix is the official Proxmox VE by HTTP template, which authenticates with a Proxmox API token and connects on port 8006 by default. Zabbix does not install an agent on the hypervisor for this purpose. Instead, the template polls the Proxmox API from the Zabbix server or a proxy, so the decision you face first is where that polling component sits on your network and which account it uses. The template is published for Zabbix 7.4, and the 7.4 version was tested on Proxmox VE 8.4.0. Confirm that your Zabbix server and Proxmox VE versions match that tested pairing before you import the template, and check the template notes for any later Proxmox release you intend to run.

Once it is connected, the template discovers cluster quorum, shared storage and users, node certificates, disks with SMART status, local and shared storage pools, LXC containers and QEMU virtual machines. Each discovered guest becomes a monitored item set, so the scope of discovery follows what the API token can see. Filesystem, operating system and network data for virtual machines depend on the QEMU guest agent running inside each VM. Without the agent, you still get the hypervisor view of CPU, memory and disk state for the VM, but not the guest-level detail. Ask the application owners whether the agent is installed and enabled on their VMs before you promise that coverage to them, and plan for the agent in your VM build standard.

Treat the token as the access boundary. The template reads the values set in {$PVE.TOKEN.ID} (in the form USER@REALM!TOKENID) and {$PVE.TOKEN.SECRET}, so the monitoring user and its role assignments decide what the template can discover. Use a dedicated user rather than an administrator account, and confirm the exact read-only privileges the template needs in the Proxmox user management documentation and the template's own requirements list before you grant them. Missing privileges usually show up as silently empty discovery rather than as a clear error, so verify each discovered object class (nodes, storage, guests, disks) against the Proxmox web interface after the first run.

What you need before creating the Proxmox API token

Most failed Proxmox VE monitoring setups fail before the template is imported, on a version mismatch, a blocked port or an untrusted certificate. The cards below cover what to confirm on the Zabbix side, the Proxmox side and inside each guest so the API token you create later has something to read.

Zabbix version for the 7.4 template

The Proxmox VE by HTTP template for 7.4 requires Zabbix 7.4, so the Zabbix server or proxy must run that release before you import it. Importing a template built for a newer or older Zabbix line is a common reason for items that never populate. Confirm the template version you download matches your running Zabbix version, and plan the upgrade path first if you are still on an earlier line.

Zabbix Proxmox integration

Proxmox VE version and template match

The 7.4 template was tested on Proxmox VE 8.4.0. Proxmox has since shipped 9.x releases, including 9.0, 9.1 and 9.2, so check whether the template's discovery and API behavior has been verified against the release you run before relying on it. Ask the Zabbix integration page for the current tested list, and test on a non-production cluster if your version is not listed.

Proxmox press releases

Debian base and support status

Proxmox VE releases follow the Debian release they are built on, and Proxmox support generally lasts about as long as that Debian release has security support. Before choosing a Proxmox version to monitor or to run, confirm its Debian base and end-of-life date, since an unsupported host will drive a Proxmox upgrade into your monitoring project. The FAQ is the place to check current support status.

Proxmox VE FAQ

Network path to port 8006

The Zabbix server or proxy that polls Proxmox must reach the Proxmox API on port 8006 by default, on every node you intend to query. Check firewall rules between the monitoring host and each Proxmox node, including any management VLAN or cluster network segmentation. Run a connectivity test from the Zabbix host itself, since a working browser session from an administrator workstation proves little about the poller's path.

Trust for node certificates

The template connects to the Proxmox HTTPS API, so each node's certificate must be trusted by the Zabbix host or the check will fail on verification. Decide whether you will trust your internal certificate authority, install the CA chain on the Zabbix server or proxy, or pin the node certificates. Avoid disabling verification as a shortcut, because the monitoring user's API token travels over that connection.

Dedicated monitoring user and realm

Create a separate Proxmox user for monitoring instead of reusing an administrator account, and choose the authentication realm deliberately (for example, the built-in PVE realm or a directory realm you already run). The template expects the token identifier in the form USER@REALM!TOKENID, so the realm you pick becomes part of every macro value. Record the user name and realm now, because changing them later means regenerating the token and updating the Zabbix macros.

Default API port
8006

QEMU guest agent in each VM

Filesystem, operating system and network data for virtual machines come from the QEMU guest agent, not from the hypervisor API alone. Each VM you want to see in detail needs the agent installed, running and enabled in its Proxmox VM options, and the guest must allow the agent to report. Inventory which VMs have the agent today, because machines without it will still appear but with fewer items, and that gap is easy to misread as a Zabbix fault.

Proxmox user management

Configuring the monitoring user, token and Zabbix host

This sequence gives Zabbix a dedicated, read-only Proxmox identity and token, then wires the official template to the cluster so that quorum, nodes, storage, guests and disks report back into Zabbix. Each step closes with a check you can verify before moving on.

  1. Create a dedicated monitoring user in its realm

    A Proxmox administrator creates a user used only by Zabbix, in the realm your organization already uses for Proxmox accounts (for example the built-in PAM or PVE realm, or a directory realm you have configured). Do not reuse a person's account or an administrator account. Record the full USER@REALM string, because the template needs it exactly as written. Check: the user appears in the Proxmox user list with the expected realm and no group memberships beyond what the next step grants.

  2. Grant read-only roles on the required paths

    Assign the user a role that only permits reading status, configuration and monitoring data, scoped to the paths the template queries (cluster, nodes, storage and guests) rather than the root path where possible. Confirm the exact paths and role names against the Proxmox user management documentation and the template's documentation for your version, since these are not supplied here. Check: logging in as the monitoring user shows cluster and node status, but attempting a change such as starting a guest is refused.

  3. Create an API token and decide on privilege separation

    Create an API token for the monitoring user and make an explicit choice about privilege separation. With separation enabled, the token only has the permissions you grant to the token itself, which is the stricter option for a monitoring integration. Without it, the token inherits the user's permissions. Copy the token ID and secret when they are displayed, because the secret is shown only once. Check: the token is listed under the user, and its privilege separation setting matches what you decided and documented.

  4. Import the Proxmox VE by HTTP template

    In Zabbix, import the Proxmox VE by HTTP template version that matches your Zabbix release, since the template for 7.4 requires Zabbix 7.4 and was tested on Proxmox VE 8.4.0 according to the vendor page. Confirm the template's compatibility with your Proxmox VE version before importing. Check: the template appears in the template list under the expected name and version, with its macros and discovery rules visible.

  5. Set the token macros and create the host

    Create a host for the Proxmox cluster and link the template. Set {$PVE.TOKEN.ID} to the token identifier in USER@REALM!TOKENID form, and set {$PVE.TOKEN.SECRET} to the secret, marking it as a secret macro so it is masked in the interface. Point the host interface at the Proxmox API address with port 8006, the default for the template. Use a monitoring path that reaches a cluster node or a load-balanced endpoint you control. Check: the host shows the template linked with no unresolved macros.

  6. Enable the QEMU guest agent in virtual machines

    For each QEMU virtual machine whose filesystem, operating system or network data you want, enable the QEMU guest agent in the VM options and install the agent inside the guest operating system. The template depends on the guest agent for this data, so VMs without it will still appear but report less. Restart the guest if your procedure requires it. Check: the guest agent reports as running in the Proxmox console for the VM, and the matching guest items gain values after the next poll.

  7. Confirm discovery and item data

    Wait for the discovery rules to run, then review the discovered objects. Confirm that cluster quorum and shared storage items read values, that node certificates and disks with SMART status appear, that LXC containers and QEMU virtual machines are discovered as expected, and that the storage items show usage. Compare the discovered counts to what Proxmox shows in its own interface. Check: the quorum item returns a value, and the counts of nodes, guests and storage pools in Zabbix match the Proxmox inventory. Investigate any gap before extending monitoring.

Mapping Proxmox objects to Zabbix hosts, items and discovery

This table maps each Proxmox entity to the Zabbix object the Proxmox VE by HTTP template creates for it and the source of its values. Use it to see which data comes straight from the API, which comes from discovery rules, and which needs the QEMU guest agent inside each VM. Check the exact item and discovery names against your template version before building alerts on them.

Proxmox entityZabbix objects createdValue sourceGuest agent needed
ClusterCluster-level items for quorum and membership stateCluster API endpoints queried with the monitoring API tokenNo
Shared storage and usersDiscovered storage items and user itemsDiscovery rules that query the cluster storage and user listsNo
Node certificatesDiscovered certificate items per nodeNode certificate data returned by the API, checked for expiryNo
Node disks with SMART statusDiscovered disk items with SMART health valuesNode disk and SMART data returned by the APINo
QEMU virtual machines (state and resources)Discovered VM items for status, CPU, memory and disk I/OVM resource data from the cluster APINo
QEMU virtual machines (filesystem, OS, network)Discovered VM items for guest filesystems, OS details and interfacesData returned by the QEMU guest agent inside each VMYes, the guest agent must be enabled and running in the VM
LXC containersDiscovered container items for status and resourcesContainer resource data from the cluster APINo

Which read permissions the monitoring token actually needs

The monitoring user and its API token should hold read-only permissions and nothing that changes state. The Proxmox VE by HTTP template only needs to read cluster status, node and guest inventory, storage, disk and certificate data, so any write, power, console or backup permission on the token is surplus access that an attacker could use if the token leaks. Start from a dedicated user in the Proxmox realm you already use, not an administrator account and not root@pam. Scope the token's role to the paths that hold cluster, node, guest and storage information, and grant nothing at the root path unless your own testing shows the template needs it. Exact role names and path assignments change between Proxmox VE versions, so confirm them against the Proxmox VE user management documentation for the version you run, and check the template's own requirements for the Zabbix release you use.

Store the token ID and secret in Zabbix as user macros, {$PVE.TOKEN.ID} and {$PVE.TOKEN.SECRET}, and set the secret macro to secret type so the value is masked in the Zabbix interface and stored in encrypted form. Keep the values on the host or template level that needs them rather than in global macros, so that only the Proxmox host objects can read the secret. Confirm with your Zabbix security settings and the Zabbix version in use how secret macros are stored and whether a vault integration is available for your environment. Record who holds the token, when it was created and when it must be rotated, since rotation means changing the secret in Proxmox and in Zabbix together.

Verify the token before you rely on the template. Call the Proxmox API with the token from a host that can reach port 8006, and confirm it returns cluster, node, storage and guest data. Then run a write test with the same token, such as an attempt to change a VM setting or start a guest, and confirm Proxmox refuses it. After the template is imported, check that every discovery rule returns items: cluster quorum, storage, disks, LXC containers and QEMU virtual machines. Missing items usually mean a missing read path, not a template fault. For guest filesystem, OS and network data, the QEMU guest agent must also be running in each VM, and that is a separate check from the token permissions.

Zabbix reaches the Proxmox API with a token over HTTPS

The flow starts at the Zabbix server or a Zabbix proxy, which sends authenticated HTTPS requests carrying the API token to the Proxmox VE API on port 8006 of a cluster node. The cluster returns cluster, node, storage, container and VM data. Guest agent data is different: it reaches Zabbix only from inside the VM, relayed through the hypervisor, so it depends on the guest agent being installed and running. The subgraph marks the trust boundary between the monitoring network and the Proxmox management network, which is where firewall rules and token scope should be checked.

Zabbix polls the Proxmox API over HTTPS, and guest data comes only through the hypervisor.

Hardening the Proxmox monitoring integration

The Proxmox VE by HTTP template gives Zabbix a standing credential into your hypervisor cluster, so its token, network path and audit trail deserve the same care as any administrative access. The cards below cover the controls that sit around the template and the checks to confirm in your own environment before the integration goes into production.

Scope the monitoring token narrowly

The template authenticates with a token held in {$PVE.TOKEN.ID} and {$PVE.TOKEN.SECRET}, bound to a dedicated monitoring user. Grant that user only the read permissions the discovery and item keys need, such as cluster, node, storage and VM status. Confirm in your environment which privilege set the template actually reads, because the permissions it needs are set by the template version you run, not by a general rule. Never assign the Administrator role to this token.

Proxmox user management

Store the secret in a Zabbix secret macro

Put the token secret in a secret user macro rather than a plain text macro, so it is masked in the Zabbix interface and in exports. Confirm that your Zabbix version masks the value in host and template views, and that your export and backup routines do not write it to plain files. Restrict who can read host macros on the Proxmox host objects, since anyone with that access can use the token elsewhere.

Restrict port 8006 to known pollers

The template connects to the Proxmox API on port 8006 by default. Allow that port only from the Zabbix server or the specific Zabbix proxy that polls the cluster, and deny it from the rest of the network, including user workstations. If you run a proxy group, list every proxy that can take over these hosts, because failover moves polling to other proxies and a rule that covers only one will silently break monitoring.

Validate node certificates

Proxmox nodes present their own certificates, and a self-signed or internally issued certificate will fail validation unless its issuing authority is trusted by the Zabbix poller. Decide whether to install your internal CA on the Zabbix server and proxies, rather than disabling verification. Confirm the certificate behavior of the template version you deploy, and retest after each certificate renewal on a node.

Avoid superuser and shared tokens

Keep the monitoring token separate from tokens used by administrators, automation or backup jobs, so that revoking one does not break another and audit entries stay attributable. Do not reuse an account that already holds broad rights, and do not share one token across several Zabbix environments. Ask your Proxmox administrators to confirm that the monitoring user cannot change cluster configuration, create guests or access console sessions.

Review API access and rotate tokens

Proxmox records authentication and task activity that you can review for the monitoring user. Check periodically that calls come only from the expected Zabbix source addresses, and that the token has not been used from anywhere else. Set a rotation schedule that your team can follow, with a documented procedure to create the new token, update the macro, verify items and then revoke the old token. Confirm the log locations and retention in your Proxmox version before you rely on them.

Remove the token when hosts retire

When a Proxmox node or cluster leaves monitoring, delete the Zabbix host or template links, remove the stored secret, and revoke the token in Proxmox. Also delete the firewall rule that allowed the poller to reach port 8006. Leftover tokens and open rules are a common source of unmanaged access, so include this step in your decommissioning checklist and confirm it with the Proxmox administrator who owns the user.

Why Proxmox items show no data or the wrong VMs

This table lists the failures that most often leave Proxmox VE items empty, incomplete or attached to the wrong guests in Zabbix. Each row gives the likely cause and the fix, so you can check the token, network path, permissions, certificates, guest agent, template version and host-level macros in a sensible order.

Symptom or failureLikely causeFix
Authentication fails on every itemToken ID in {$PVE.TOKEN.ID} is missing the realm or the ! separator; it must follow the USER@REALM!TOKENID patternRebuild the value as user@realm!tokenid, copy the secret into {$PVE.TOKEN.SECRET} without extra spaces, then re-run the discovery check
Discovery returns nothing or only part of the clusterThe monitoring user or token lacks read permissions on nodes, storage, guests or the cluster statusGrant the read-only role the template needs at the correct path, then re-run low-level discovery and confirm the missing objects appear
Connection timeouts or no response from the APIPort 8006 is blocked between the Zabbix server or proxy and a Proxmox nodeAllow TCP 8006 from the polling host to every node, test from that host with a simple HTTPS request, and confirm the connection is not routed through a blocked path
SSL or certificate errors on node itemsNode certificates are self-signed or issued by an internal CA that Zabbix does not trustInstall the internal CA on the Zabbix server or proxy, or set certificate verification to match your policy; do not disable verification without a documented reason
VM OS, filesystem or network items stay emptyQEMU guest agent is not installed or is disabled in the VM options, so Proxmox cannot relay guest dataEnable the agent option on the VM, install the guest agent package in the guest, restart the VM, and confirm the items populate after the next poll
Wrong VMs or containers appear as hosts or itemsDiscovery filters or host prototypes match names or IDs that do not reflect your environment, or old guests remain after migrationReview discovery filters, remove stale host records, and confirm the guest IDs against the Proxmox cluster inventory before enabling autoregistration
Items are unsupported or missing after an upgradeTemplate version does not match the Zabbix release or the Proxmox VE release it was tested againstConfirm the template version matches your Zabbix major version and check the tested Proxmox VE version on the Zabbix integration page before updating
Values differ from the template defaults on one hostMacros such as the port or token were overridden at host level and no longer match the templateCompare host and template macros, remove stale host-level overrides, and keep only values that differ for a documented reason

Questions buyers ask about Proxmox monitoring with Zabbix

Does Zabbix charge a license fee for monitoring Proxmox VE?

No. Zabbix states that its open source software has no license fee, no device limits and no feature gates, so the Proxmox VE by HTTP template runs without a Zabbix license purchase. Zabbix does sell paid technical support subscriptions in Silver, Gold, Platinum, Enterprise and Global tiers, which differ in hours of coverage and response time. Support is optional. Whether you need it depends on how much vendor help your team wants when something breaks, and that is a decision to make with your own service levels in mind. Zabbix 7.4 is the release line the 7.4 Proxmox template requires, so confirm your Zabbix version before you import it.

Do we need a Proxmox subscription to monitor our cluster?

No. The Proxmox VE API and software work without a subscription, and the Proxmox VE by HTTP template reads data through an API token, so monitoring does not depend on a subscription key. What the subscription governs is access to the enterprise repository, which Proxmox recommends for production package updates, and the support entitlements that come with each tier. Proxmox lists Community, Basic, Standard and Premium tiers priced per CPU socket per year, with the same software features in each. Decide the subscription question separately from the monitoring design, and confirm the current pricing and repository terms on the Proxmox pricing page before you budget for it.

How long does a Proxmox monitoring setup take, and what drives that?

The duration depends on the scope you agree in writing, and no fixed figure applies to every cluster. The main drivers are the number of cluster nodes, how many guests run the QEMU guest agent, how many storage pools and disks need SMART checks, how carefully the monitoring user and API token permissions are designed, and whether the Zabbix server, a proxy and network paths already exist. A three-node lab with a clear permission model is a different job from a larger production cluster with segmented management networks and change approvals. Ask for a timeline that lists each of these items, and confirm the Zabbix and Proxmox versions in your environment before the work begins.

Which data is missing if the QEMU guest agent is not installed?

Guest-level data for virtual machines depends on the QEMU guest agent. According to the Zabbix Proxmox integration page, the template discovers QEMU virtual machines regardless, but filesystem, operating system and network data for VMs depend on the agent being installed and running inside each guest. Without it, you still see the hypervisor's view of the VM, such as its state and allocated resources, but not what runs inside. Agent rollout is often the slowest part of this work because it touches each guest operating system, and it needs change approval per system. Inventory which VMs lack the agent early, and agree with the application owners which guests must have it before you set the scope.

What does our team need to provide for a Proxmox monitoring project?

Expect to provide administrative access to the Proxmox cluster for the setup work, a named owner who can approve changes to the Proxmox user and permission model, and network approval for the path from the Zabbix server or proxy to port 8006 on each node. You will also need approval and access for guest agent installs inside virtual machines, plus a decision on who receives the API token secret and where it is stored. For LXC containers and storage, confirm which pools and disks should be monitored. Agreeing these items at the start avoids waiting on approvals partway through the build.

Can our own team set up Proxmox monitoring with Zabbix without a partner?

Yes, a capable Proxmox and Zabbix team can do it alone, because the official template, the Zabbix documentation and the Proxmox user management guide cover the core steps. The work that tends to take longer is designing the dedicated monitoring user and its read permissions, validating discovery across every node, and rolling out the guest agent consistently. Teams that run Proxmox regularly often handle the first part well, while the cross-team coordination and testing take more time than expected. If you choose a partner, DeployOpen plans, implements, documents and supports self-hosted platforms in your own infrastructure under a written, fixed scope, and you can compare that against your internal capacity.

Which Zabbix and Proxmox versions should we confirm before starting?

Confirm two versions first. The Zabbix Proxmox integration page states that the 7.4 Proxmox template requires Zabbix 7.4 and was tested on Proxmox VE 8.4.0, so check that your Zabbix server matches the template version you plan to import and that your Proxmox nodes are on a release the template supports. Proxmox VE 9.0, 9.1 and 9.2 have been released since then, so verify compatibility for your exact release rather than assuming it. Zabbix 7.0 LTS is supported until 30 June 2027 for full support, which affects your upgrade timing if you run an older line.

How DeployOpen scopes Proxmox monitoring work

DeployOpen agrees on a written scope before any Zabbix work starts, and a quote follows from that scope. For Proxmox monitoring, the scope should name each cluster and node to be monitored, the QEMU virtual machines and LXC containers that need guest-level data, the storage pools and disks in scope, and which guests have the QEMU guest agent installed and reachable. Guest agent coverage is a scope item in its own right, because filesystem, OS and network data for virtual machines depends on it. Any VM without the agent will show less data, so the reader should decide in advance whether agent rollout is part of this work or a separate task owned by their own team.

The scope also covers permission design and the alerting handoff. DeployOpen sets up a dedicated monitoring user and an API token, stored as {$PVE.TOKEN.ID} and {$PVE.TOKEN.SECRET} in the Zabbix host macros, and confirms that the token has only the read permissions the Proxmox VE by HTTP template needs. Acceptance checks should be listed in the scope too: template discovery results per node, disk SMART and storage items, and confirmed triggers and notifications. DeployOpen implements the Zabbix server, proxies and templates inside the client's own infrastructure, so the client's security and operations teams keep control of credentials and data. Ask the provider to confirm which Zabbix and Proxmox VE versions the scope targets, since the Proxmox template version must match the Zabbix release in use.

Ongoing work is handled separately. Upgrades to newer Zabbix or Proxmox VE releases, template updates and continuous support can be placed under a retainer, which DeployOpen offers in addition to fixed-scope projects. When requesting a quote, ask for each item to be priced separately: the initial build, the guest agent work, any alerting integration, and the recurring retainer, if one is wanted. This keeps one-time and recurring costs visible and makes it clear what changes if the cluster grows.

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.