kvmstats: use .capacity instead of .physical for disk size
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2640|4|2636|5|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/403//ansiblelint">Evolix » ansible-roles » unstable #403</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2640|4|2636|5|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/403//ansiblelint">Evolix » ansible-roles » unstable #403</a>
gitea/ansible-roles/pipeline/head This commit looks good
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
|
* 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
|
* proftpd: in SFTP vhost, enable SSH keys login, enable ed25549 host key for Debian >= 11
|
||||||
* bind: Update role for Buster, Bullseye and Bookworm support
|
* bind: Update role for Buster, Bullseye and Bookworm support
|
||||||
|
* kvmstats: use .capacity instead of .physical for disk size
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ BEGIN {
|
||||||
if (!mem)
|
if (!mem)
|
||||||
mem = $2
|
mem = $2
|
||||||
}
|
}
|
||||||
/block\.[0-9]+\.physical/ {
|
/block\.[0-9]+\.capacity/ {
|
||||||
disksize += $2
|
disksize += $2
|
||||||
}
|
}
|
||||||
/state\.state/ {
|
/state\.state/ {
|
||||||
|
|
Loading…
Reference in a new issue