You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using PVE v6.1. I ran into this myself. Does not help that the "mem" metric appears to be undocumented.
pvesh get /nodes/${name}/lxc --output-format json reports
"[{"maxmem": 36507222016, "mem": 571985920,}] or 1.6% .
Looking from inside the LXC with cat /proc/meminfo |perl -ne '/MemFree:\s*(\d+)/ and $f=$1; /MemAvailable:\s*(\d+)/ and $a=$1; /MemTotal:\s*(\d+)/ and $t=$1; END{ printf("Avail %.3f\nFree: %.3f\n",($a/$t),($f/$t)); }'
I get 98.4 available, the inverse of 1.6%. This leads me to believe the "mem" metric reported by PVE is "memory in-use" not "memfree".
Hello,
the "free" values of ram, swap, disk in the output of pve_exporter are really the "used" values from the PVE node.
I think this should be fixed.
Shall i just rename them, or add "used"-values and fix the "free" values, or add "used" and leave "free" alone for some grace period?
Regards, Uwe
The text was updated successfully, but these errors were encountered: