fix aws rds storage mode

This commit is contained in:
garnier-quentin 2020-07-23 18:00:56 +02:00
parent d2a9027866
commit 2ba621a79b
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}/);