diff --git a/src/os/linux/local/mode/storage.pm b/src/os/linux/local/mode/storage.pm index 12b52903b..9baca846c 100644 --- a/src/os/linux/local/mode/storage.pm +++ b/src/os/linux/local/mode/storage.pm @@ -153,7 +153,7 @@ sub manage_selection { my @lines = split /\n/, $stdout; foreach my $line (@lines) { next if ($line !~ /^(\S+)\s+(\S+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\S+)\s+(.*)/); - my ($fs, $type, $size, $used, $available, $percent, $mount) = ($1, $2, $3, $4, $5, $6, $7); + my ($fs, $type, $used, $available, $percent, $mount) = ($1, $2, $4, $5, $6, $7); next if (defined($self->{option_results}->{filter_fs}) && $self->{option_results}->{filter_fs} ne '' && $fs !~ /$self->{option_results}->{filter_fs}/); @@ -170,9 +170,9 @@ sub manage_selection { display => $mount, fs => $fs, type => $type, - total => $size * 1024, used => $used * 1024, - free => $available * 1024 + free => $available * 1024, + total => ($used + $available) * 1024 }; } diff --git a/tests/resources/spellcheck/stopwords.t b/tests/resources/spellcheck/stopwords.t index a3644d8cf..c8971c685 100644 --- a/tests/resources/spellcheck/stopwords.t +++ b/tests/resources/spellcheck/stopwords.t @@ -1,5 +1,7 @@ --display-transform-dst --display-transform-src +--exclude-fs +--filter-fs --filter-vdom --force-counters32 --force-counters64 @@ -13,6 +15,7 @@ ADSL Centreon Datacore deltaps +df eth Fortigate Fortinet