Le 01/06/2018 à 17:12, Thomas Lamprecht a écrit :
> Hi,
>> Am I missing something, or is this a bug ?
>>
>
> actually cpu should be set and represent what you expect,
> I took a quick look at the code and did not see why it
> shouldn't be set...
> It's in the PVE::QemuServer::vmstatus method, but I
Hi,
Am 06/01/2018 um 04:52 PM schrieb Daniel Berteaud:
Hi.
Writing some script to monitor my guests on a proxmox 5.2 cluster (3
nodes), I find something strange. When I ask the current status of a
guest, eg
pvesh get /nodes/pve1/qemu/109/status/current
I get most stats I want, except for CPU
Hi Daniel,
Its complicated why this is 0, in short cpu usage is a counter its hard
to calculate actual usage in % without history data.
/cluster/resources uses pvestatd which calculates that,
/nodes/{node}/(qemu|lxc)/status/current doesn't.
Np,
René
On 2018-06-01 17:08, Daniel Berteaud wrote:
Le 01/06/2018 à 16:55, René Jochum a écrit :
> Get it from "pvesh get /cluster/resources" :)
Indeed, here it has the correct value. Still, isn't that strange that on
/nodes//qemu//status/current we do not get the same value ?
Thanks,
Daniel
--
Logo FWS
*Daniel Berteaud*
FIREWALL-SERV
Get it from "pvesh get /cluster/resources" :)
In Javascript i calc the cpu usage like this:
Math.round(this.getCpu() *100*10) /10; Kind regards, René
On 2018-06-01 16:52, Daniel Berteaud wrote:
> Hi. Writing some script to monitor my guests on a proxmox 5.2 cluster
> (3 nodes), I find something
Hi.
Writing some script to monitor my guests on a proxmox 5.2 cluster (3
nodes), I find something strange. When I ask the current status of a
guest, eg
pvesh get /nodes/pve1/qemu/109/status/current
I get most stats I want, except for CPU usage. I guess it should be the
value of cpu (cpus being
Hi,
is the use of H700 as Raid controller mandatory ???
Using the H700 as HBA only and configure every disk as JBOD . You could
save you Energy, Stress,... :
- Using ZFS Raidz (=Raid1) for Proxmox system disks may be worth it.
Simple, integrated into Proxmox base system, ..
A real pleasure, espec