Hello. we need to monitor the resource usage on our vms. we are using proxmox api for this purpose. we are using the get_vm_list() function for getting the list of all vms on our server. an example of the return value of the function is:
Array
(
[diskread] => 0
[netin] => 1481673109
[cpu] => 0.042529058080306
[disk] => 0
[status] => running
[name] => czech.search.bipmedia.com
[netout] => 2240325794
[maxdisk] => 0
[maxmem] => 1073741824
[pid] => 2665
[diskwrite] => 0
[uptime] => 128257
[mem] => 685132929
[vmid] => 203
[cpus] => 4
)
the problem is that the function always returns value of 0 for 'disk'. in most but not all cases the value of 'maxdisk' is 0. can it be a bug in the proxmox api?. Thanks.
Nadir Latif
Array
(
[diskread] => 0
[netin] => 1481673109
[cpu] => 0.042529058080306
[disk] => 0
[status] => running
[name] => czech.search.bipmedia.com
[netout] => 2240325794
[maxdisk] => 0
[maxmem] => 1073741824
[pid] => 2665
[diskwrite] => 0
[uptime] => 128257
[mem] => 685132929
[vmid] => 203
[cpus] => 4
)
the problem is that the function always returns value of 0 for 'disk'. in most but not all cases the value of 'maxdisk' is 0. can it be a bug in the proxmox api?. Thanks.
Nadir Latif