citrix-pvs-healthcheck
citrix-pvs-healthcheck copied to clipboard
RAM Usage is critical
When I run the script on my pvs, I get:
[ERROR] Memory usage is Critical [ 7,39 % ]
I think it's because the conversion from 7,39 becomes to 739.
My (bad) workaround is to change the line 221 from:
$RAMPercentUsed = "{0:N2}" -f $RAMPercentUsed
to
$RAMPercentUsed = "{0:N0}" -f $RAMPercentUsed