fix aws rds storage mode
This commit is contained in:
parent
d2a9027866
commit
2ba621a79b
|
@ -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 ''
|
next if (defined($self->{option_results}->{filter_metric}) && $self->{option_results}->{filter_metric} ne ''
|
||||||
&& $metric !~ /$self->{option_results}->{filter_metric}/);
|
&& $metric !~ /$self->{option_results}->{filter_metric}/);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue