HERA-PVE: A Free, Read-Only Audit for Your Proxmox Lab

HERA-PVE: A Free, Read-Only Audit for Your Proxmox Lab

โ—4 โ—7
calendar_today ago โ€ข schedule8 min read
โ€” Originally published at codewithromi.com

Most homelab problems don't announce themselves. A backup job stops covering the VM you added last month. The backup server ends up living on the same box it's meant to protect. A storage pool creeps toward full. Nothing is broken, so nothing complains, and you find out on the day you need to restore something.

I wanted a tool that checks all of that for me, tells me exactly how to fix each problem, and writes down the restore steps for every VM before I need them. So I built one. It's called HERA-PVE, it's free and open source, and as of today anyone can install it.

๐Ÿงญ What HERA-PVE Is

HERA-PVE is a small web app that connects to Proxmox VE, and to Proxmox Backup Server if you run one, with a read-only API token. Every six hours it takes stock of your nodes, VMs, containers, storage and backups, runs 24 checks against them, and gives you three things:

  • A list of what's wrong, by severity, each with one line on why it matters and the exact command that fixes it.
  • A recovery sheet for every VM and container, with the real restore command filled in.
  • What changed since the last scan: guests added, resized, migrated or removed, Proxmox upgrades and reboots, edited backup jobs, and findings opened or resolved.

It runs as one Docker container on your own network. It doesn't phone home, and it can't change anything in your lab.

The HERA-PVE Overview showing three servers, open findings by severity, storage use and the changes since the last scan

The Overview. These screenshots use a scrubbed scan, so the names and addresses in them are made up.

๐Ÿ” What It Found On My Own Lab

My lab is the one from What I Self-Host: three Proxmox VE 9.2 hosts, and a Proxmox Backup Server whose datastore is copied to two NAS boxes. I thought it was in good shape. The first scan found 33 problems: 1 critical, 12 high, 6 medium and 14 low.

The one that stung: my backup server ran as a VM on one of the hosts it backs up. If that host died, I'd have to rebuild the backup server before I could restore anything, including the VMs that died with it. Proxmox doesn't warn you about this anywhere, because from its point of view nothing is wrong.

Later scans kept earning their keep:

  • A sandbox VM I'd spun up for the FygoOS review was running with no backup at all.
  • One node was still on its old kernel after an update, so it owed me a reboot I'd forgotten about.
  • The other two nodes were 25 and 28 Proxmox packages behind.
  • Every node had between 11 and 29 kernels installed, most of them long out of use.

None of these were emergencies on their own. All of them were the kind of thing I'd only have discovered at the worst moment.

๐Ÿ› ๏ธ Every Finding Comes With The Fix

Finding problems is the easy half. Every finding in HERA-PVE says what's wrong, why it matters in one line, and what to run, with your real VMIDs, storage names and paths filled in so you can paste it.

The Findings page with one high severity finding opened to show why it matters and the command that fixes it

Findings are grouped by severity. You can mute or acknowledge any of them.

The 24 checks cover:

  • Backups: no recent backup, not in any backup job (including guests only in disabled jobs, which Proxmox's own "not backed up" view counts as covered), backups only on local disk, a last backup that failed, and a backup server running on a host it backs up.
  • Proxmox Backup Server: a guest's newest backup missing from the datastore or failing verification, guests from different servers colliding in one backup group, and datastores with no verify job or no garbage collection.
  • Storage: pools nearly full (one NAS counted once, however many storage IDs point at it), snapshots older than 30 days, and stopped guests still holding disk.
  • Guest config: passwords or API keys sitting in VM notes, the guest agent not running, start at boot off, and guests with no stated purpose.
  • Proxmox itself: expiring node certificates and cluster CA, duplicate IPs across servers, Proxmox versions with known security holes, a reboot owed after a kernel update, Proxmox updates waiting, old kernels (with an exact apt purge list that never removes the kernel Proxmox VE depends on), and package sources that quietly block updates, like the enterprise repository without a subscription.

๐Ÿ“„ A Recovery Sheet For Every VM

This is the feature the whole thing is built around. For every VM and container, HERA-PVE keeps a one-page sheet with:

  • what it is and who owns it
  • its node, storage, CPU, RAM and disks
  • its network: bridge, VLAN, MAC and IP
  • its newest good backup, where it lives and when it ran
  • the exact qmrestore or pct restore command for that backup
  • how to restore it on a different host if the original is gone
  • what to check once it's back

If you've connected your Proxmox Backup Server, the sheet skips any backup that's been pruned or failed verification, and says so. Print it, or save it as a PDF and keep a copy somewhere that isn't the lab.

A recovery sheet showing a guest's disks, network, newest backup and the restore commands with the real backup path filled in

A recovery sheet's print view, with the restore commands ready to paste.

๐Ÿ”’ Why It's Safe To Point At Your Lab

A tool that audits your hypervisor shouldn't be the next thing you have to worry about. HERA-PVE is read-only by design:

  • Read-only tokens only. The token gets Proxmox's built-in PVEAuditor role. At every scan, HERA-PVE reads the token's own permissions and refuses to continue if it holds anything that can write.
  • No way to send a change. The code that talks to Proxmox can only send GET requests, and a test fails the build if POST, PUT, PATCH or DELETE ever shows up in it.
  • Nothing runs inside your guests. No SSH, no agent. Guest IPs and OS details come from Proxmox's own API.
  • Certificates are checked, never ignored. When you add a server, you confirm its certificate fingerprint first, and the token is never sent to a server that fails that check.
  • No telemetry. It makes no outbound connections except to the Proxmox servers you add.

There's one honest limit worth knowing. Proxmox doesn't let a read-only token list backup files. Rather than ask for a token that can write, HERA-PVE reads Proxmox's backup task logs, which say which guest was backed up, when, to which storage, and whether it worked. It tells you this in the app, too.

๐Ÿณ Install It In About Five Minutes

You need a Linux machine, VM or LXC with Docker and Docker Compose that can reach your Proxmox servers on port 8006. HERA-PVE uses about 150 MB of RAM. In a Proxmox LXC, turn on Options โ†’ Features โ†’ nesting (and keyctl for an unprivileged container) so Docker can run inside it.

1. Get the compose file and start it.

mkdir hera-pve && cd hera-pve
curl -O https://raw.githubusercontent.com/theeromi/hera-pve/main/docker-compose.yml

Set TZ in docker-compose.yml to your time zone, so scans run at 00:00, 06:00, 12:00 and 18:00 your time. Then:

docker compose up -d
docker compose logs hera-pve

The logs show a one-time setup code.

2. Create your account. Open http://<that-machine>:8080, enter the setup code, and create your admin login.

3. Create a read-only token on each Proxmox server or cluster, in the node's shell as root:

pveum user add hera-audit@pve
pveum acl modify / --users hera-audit@pve --roles PVEAuditor
pveum user token add hera-audit@pve scan --privsep 1
pveum acl modify / --tokens 'hera-audit@pve!scan' --roles PVEAuditor

Copy the value from the third command. Proxmox shows it only once.

4. Add the server. In HERA-PVE, go to Setup โ†’ Add a server, enter the address and token, compare the certificate fingerprint with the one in Proxmox (node โ†’ System โ†’ Certificates), then test and save. The first scan starts straight away.

The Setup screen showing the token commands and the form for adding a Proxmox server

Setup shows the token commands and checks the server's certificate before the token is sent.

5. Optional: add your Proxmox Backup Server. Choose Backup Server in Setup, then on the PBS, as root:

proxmox-backup-manager user create hera-audit@pbs
proxmox-backup-manager acl update / DatastoreAudit --auth-id hera-audit@pbs
proxmox-backup-manager user generate-token hera-audit@pbs scan
proxmox-backup-manager acl update / DatastoreAudit --auth-id 'hera-audit@pbs!scan'

The fingerprint to compare is on the PBS dashboard under Show Fingerprint.

Once the first scan finishes, the Guests page lists every VM and container across all your servers, with their IPs, OS, size, last backup and open findings.

The Guests page listing every VM and container with its server, status, IP, OS, size, last backup and findings

Every guest across every server, worst first.

To upgrade later:

docker compose pull && docker compose up -d

๐Ÿค” What It Isn't

HERA-PVE isn't a monitoring dashboard. If you want live graphs and alerts, a tool like Pulse already does that well. HERA-PVE answers slower questions: is every VM backed up somewhere other than the machine it lives on, what's quietly wrong, and how do I get this VM back if its host dies tonight?

It also doesn't look inside your guests. There's no SSH and no agent, so it can't tell you about Docker containers or open ports inside a VM. Update checks see Proxmox's own packages, not Debian's, and it says so on every update finding.

๐Ÿค It's Open Source

HERA-PVE is free software under the AGPL-3.0. The code, the issue tracker and the release notes are on GitHub: github.com/theeromi/hera-pve.

Bug reports, ideas and pull requests are welcome. The contributing guide shows how to run it locally against a scrubbed demo scan, so you don't need a Proxmox server to work on it. If you find a security problem, please report it privately through the repo's Security tab rather than in a public issue.

I'd especially like to hear from people running clusters, Ceph or Proxmox VE 8, since my lab is three standalone 9.2 nodes. If something looks wrong, Settings โ†’ Export has a redacted report that replaces your IPs, MACs, domains and notes, so you can share it safely.

โœ… Wrap Up

HERA-PVE started as a way to stop finding problems in my lab the hard way. It reads everything, changes nothing, and turns "I think my backups are fine" into a list you can check off, plus a recovery sheet for every VM.

Give it a try, and tell me what it finds in yours. A video walkthrough is coming soon.


Originally published at codewithromi.com.

Want more #security & #docker deep dives?

Join 6,093+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

More Posts

The Audit Trail of Things: Using Hashgraph as a Digital Caliper for Provenance

Ken W. Algerverified - Apr 28

React Native Quote Audit - USA

kajolshah - Mar 2

Free SEO Tools Every Small Business Should Use (2026) | FloxoLab

floxolab - Oct 20

Comparison: Universal Import vs. Plaid/Yodlee

Pocket Portfolio - Mar 12

Attention-Free Score: How Domain Reports Show Which Pages Need Work

ApogeeWatcherverified - Sep 1
chevron_left
235 Points โ€ข 11 Badges
5Posts
2Comments
2Connections
Homelab, self-hosted infrastructure & cybersecurity. I test things in isolated VMs and publish what ... Show more

Related Jobs

View all jobs โ†’

Commenters (This Week)

26 comments
4 comments
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!