Skip to content

Get started › Connect a provider

Proxmox VE

Connect flo8t to a Proxmox cluster or node with an API token. One token on any node covers the whole cluster.

Checked on a two-node Proxmox VE 9.2.2 cluster. Proxmox VE 8 differences are marked.

Field Value
Host / IP Any node of the cluster
API Port 8006
API Token ID The full token name, for example float@pve!float
API Token Secret The secret printed when the token was created
Validate TLS Certificate Off for Proxmox’s own self-signed certificate

The API answers for the whole cluster, so flo8t needs to reach only that node. If it is down, flo8t can’t collect until it is back or the provider points at another node.

Once, as root on any node:

Terminal window
pveum user add float@pve --comment "flo8t"
pveum role add FloatSyslog --privs "Sys.Syslog"
pveum role add FloatOps --privs "VM.PowerMgmt,VM.Snapshot,Sys.PowerMgmt" # only for actions
pveum user token add float@pve float --privsep 1 # prints the secret once
pveum acl modify / --tokens 'float@pve!float' --roles PVEAuditor,FloatSyslog
pveum acl modify / --users float@pve --roles PVEAuditor,FloatSyslog
pveum acl modify / --tokens 'float@pve!float' --roles FloatOps # only for actions
pveum acl modify / --users float@pve --roles FloatOps # only for actions

With --privsep 1 the token never has more rights than its user, so give the user the same roles or the token gets nothing.

Role on / What flo8t gets Without it
PVEAuditor Inventory, performance, task history (events, backups), HA state, guest OS, IPs and disk use through the guest agent Nothing works
FloatSyslog VM resizes shown on charts; HA recovery after a node failure No resize markers; HA restarts look like ordinary starts
FloatOps Power on and off, reboot, reset, snapshots, host reboot Actions fail with Proxmox’s permission error

Proxmox VE 8: the guest agent also needs VM.Monitor. Add it to the FloatSyslog role.

To check a token, as root: pveum user token permissions float@pve float --path /.

Install and enable the QEMU guest agent (qemu-guest-agent in the guest, Agent enabled in the VM’s options). Without it flo8t has no guest OS name, IP or disk use, and Windows Server licences are only counted for VMs that have it.

What How often
Inventory Every hour
Performance Every 5 minutes
Tasks and events Every 5 minutes

On the first day, flo8t loads the last 30 days for each VM, so right-sizing can start the next morning.

  • Maintenance mode: Proxmox has no API for it. Run ha-manager crm-command node-maintenance enable <node>; flo8t shows the node in maintenance once HA reports it.
  • Containers (LXC) are not collected yet.
  • Reboots from inside a guest are invisible to Proxmox, so to flo8t. Reboots from Proxmox or flo8t are seen.