Read-only Proxmox inventory export CLI.
Canonical public name: ProxStox (not ProxSox).
ProxStox provides a practical way to collect live Proxmox inventory and export normalized machine-readable outputs for downstream tooling and automation.
- Active and evolving
- Real live read-only collection via Proxmox API (
proxmoxer) - Normalized exports with deterministic network/IP enrichment
- Designed for operator workflows and integration, not dashboard theater
- Proxmox-specific
- Read-only collection only
- CLI-first
- Config optional
- JSON/YAML/CSV/XML export
- Downstream export profiles (
canonical,vmctl-ng,rollcall)
- Username + password
- Username + interactive hidden password prompt (TTY required)
- API token (
--token-id+--token-secret)
pip install -e .proxstox export -t 172.16.1.150 -u saar@pam -f yaml -o inventory.ymlToken mode (preferred for operations):
proxstox export -t 172.16.1.150 --token-id root@pam!inventory --token-secret '***' -f jsonExport profile examples:
proxstox export -t 172.16.1.150 --token-id root@pam!inventory --token-secret '***' --profile vmctl-ng -f json
proxstox export -t 172.16.1.150 --token-id root@pam!inventory --token-secret '***' --profile rollcall -f jsonHomelab/self-signed TLS testing:
proxstox export -t 172.16.1.150 --token-id root@pam!inventory --token-secret '***' --no-verify-tls -f yamlSupported: all, nodes, guests, qemu, lxc.
all: nodes + guestsnodes: nodes onlyguests: guests onlyqemu: qemu guests onlylxc: lxc guests only
Guest IP/interface enrichment precedence:
- QEMU live guest-agent interfaces (
qga_live) for running QEMU guests - LXC runtime interfaces (
lxc_runtime) for running containers - Config-derived guest IPs
- QEMU Cloud-Init (
ipconfigX) ascloudinit_config - LXC network config (
netX) aslxc_config
- QEMU Cloud-Init (
primary_ip is deterministic:
- prefer non-loopback IPv4 from highest-precedence source
- then IPv6 when no IPv4 is available
- avoid loopback/link-local unless no better address exists
- ProxStox is read-only by design.
- Keep credentials outside version control.
- Prefer API tokens with least privilege.
- Use
--no-verify-tlsonly for temporary homelab testing.
- Guest network/IP details are best-effort and Proxmox-data-first.
- Missing optional fields do not fail export.
- Operational failures (auth/network/TLS/API/config) return clear stderr errors.
See docs/ for architecture, auth, schema, and CLI behavior.