feat(agent): vms/lxc collectors for runtime and detail with fixtures

This commit is contained in:
Carsten 2026-04-21 22:34:45 +02:00
parent ec7f08dfda
commit da5ed6cd08
6 changed files with 299 additions and 0 deletions

22
agent/test/fixtures/pvesh/qemu.json vendored Normal file
View file

@ -0,0 +1,22 @@
[
{
"vmid": 100,
"name": "nginx-proxy",
"status": "running",
"uptime": 86400,
"cpu": 0.05,
"mem": 536870912,
"maxmem": 2147483648,
"tags": "web;production"
},
{
"vmid": 101,
"name": "db-backup",
"status": "stopped",
"uptime": 0,
"cpu": 0,
"mem": 0,
"maxmem": 4294967296,
"tags": "db"
}
]