diff --git a/plugins/other/snmp__netapp_diskusage_ b/plugins/other/snmp__netapp_diskusage_ index 41ecf5ba..501a842d 100755 --- a/plugins/other/snmp__netapp_diskusage_ +++ b/plugins/other/snmp__netapp_diskusage_ @@ -55,8 +55,8 @@ of Network Appliance, Inc. in the U.S. and other countries. =head1 BUGS -This plugin hasn't be tested on many hardware. If you encounter -bugs, please report any to Guillaume Blairon ELE. +This plugin wasn't tested on many hardware. If you encounter bugs, +please report them to Guillaume Blairon ELE. =head1 LICENSE @@ -113,7 +113,7 @@ my $session = Munin::Plugin::SNMP->session(); my ($host, undef, undef, $tail) = Munin::Plugin::SNMP->config_session(); my ($df_id, $name_oid); -if ($tail =~ /^netapp_diskusage_(\d)*$/) { +if ($tail =~ /^netapp_diskusage_(\d+)$/) { $df_id = $1; $name_oid = '1.3.6.1.4.1.789.1.5.4.1.2.' . $df_id; } else {