fix aws rds storage mode

This commit is contained in:
garnier-quentin 2020-07-23 18:00:56 +02:00
parent 4ad78416ce
commit f35e9a2520
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ sub check_options {
}
}
foreach my $metric ('NetworkReceiveThroughput', 'NetworkTransmitThroughput') {
foreach my $metric ('FreeStorageSpace', 'FreeableMemory') {
next if (defined($self->{option_results}->{filter_metric}) && $self->{option_results}->{filter_metric} ne ''
&& $metric !~ /$self->{option_results}->{filter_metric}/);