Proxmox VE (PVE) NetBox: The Network Source of Truth
net-pve-sync
net-pve-sync (based on netbox-pve-sync) is a pull-based synchronization job that reads VM/inventory data from the
Proxmox VE API and reconciles it into NetBox (create/update/delete as needed).
- Sync direction: Proxmox VE → NetBox (VMs, disks, interfaces, IPs/prefixes, MACs, VLANs, and a few metadata fields).
- Auth: NetBox API token + Proxmox API token (read-only perms like
VM.Monitor,VM.Audit,Sys.Auditare typically sufficient). - NetBox prep: create the cluster and physical hosts, and add the custom fields expected by the sync (ex:
autostart,ha,backup).
PVE_API_HOST=xx PVE_API_USER=xx PVE_API_TOKEN=xx PVE_API_SECRET=xx \
NB_API_URL=xx NB_API_TOKEN=xx NB_CLUSTER_ID=xx \
nbpxsyncReference List
- https://github.com/netdevopsbr/netbox-proxbox
- https://github.com/creekorful/netbox-pve-sync
- https://netboxlabs.com/blog/automate-proxmox-virtual-machine-configuration-netbox-flask-application/
- https://github.com/netboxlabs/netbox-proxmox-automation/
- https://netboxlabs.com/blog/automate-proxmox-virtual-machine-configuration-netbox-ansible-awx-tower-automation-platform-aap/