forked from evolix/ansible-roles
kvmstats: use .capacity instead of .physical for disk size
This commit is contained in:
parent
c93748487b
commit
892067cf2b
|
@ -29,6 +29,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
|||
* nagios: rename var `nagios_nrpe_process_processes` into `nagios_nrpe_processes` and check systemd-timesyncd instead of ntpd in Debian 12
|
||||
* proftpd: in SFTP vhost, enable SSH keys login, enable ed25549 host key for Debian >= 11
|
||||
* bind: Update role for Buster, Bullseye and Bookworm support
|
||||
* kvmstats: use .capacity instead of .physical for disk size
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ BEGIN {
|
|||
if (!mem)
|
||||
mem = $2
|
||||
}
|
||||
/block\.[0-9]+\.physical/ {
|
||||
/block\.[0-9]+\.capacity/ {
|
||||
disksize += $2
|
||||
}
|
||||
/state\.state/ {
|
||||
|
|
Loading…
Reference in a new issue