feat(agent): vms/lxc collectors for runtime and detail with fixtures
This commit is contained in:
parent
ec7f08dfda
commit
da5ed6cd08
6 changed files with 299 additions and 0 deletions
22
agent/test/fixtures/pvesh/qemu.json
vendored
Normal file
22
agent/test/fixtures/pvesh/qemu.json
vendored
Normal 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"
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue