docs/configs/proxmox.md
The Proxmox connection is configured in the proxmox.yaml file. See Create token section below for details on how to generate the required API token.
To configure multiple nodes, ensure the key name in the proxmox.yaml matches the proxmoxNode field used in your service configuration.
pve: # must match your actual Proxmox node name
url: https://proxmox.host.or.ip:8006
token: username@pam!Token ID
secret: secret
Once the Proxmox connection is configured, individual services can be configured to pull statistics of VMs or LXCs. Only CPU and Memory are currently supported.
proxmoxNode: The name of the Proxmox node where your VM/LXC is running, must match with a node configured in the proxmox.yamlproxmoxVMID: The ID of the Proxmox VM or LXC containerproxmoxType: (Optional) The type of Proxmox virtual machine. Defaults to qemu for VMs, but can be set to lxc for LXC containersFor a QEMU VM (default):
- HomeAssistant:
icon: home-assistant.png
href: http://homeassistant.local/
description: Home automation
proxmoxNode: pve
proxmoxVMID: 101
# proxmoxType: qemu # This is the default, so it can be omitted
For an LXC container:
- Nginx:
icon: nginx.png
href: http://nginx.local/
description: Web server
proxmoxNode: pve
proxmoxVMID: 200
proxmoxType: lxc
You will need to generate an API Token for new or an existing user. Here is an example of how to do this for a new user.
apihomepage