From d3a0ed0bc9af86967711c9899903f0d450853a5d Mon Sep 17 00:00:00 2001 From: Guillaume Blairon Date: Mon, 29 Nov 2010 10:57:17 +0100 Subject: [PATCH] Updated config regexp, thanks to Rachid Mokrani. --- plugins/other/snmp__netapp_inodeusage_ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/other/snmp__netapp_inodeusage_ b/plugins/other/snmp__netapp_inodeusage_ index 1843ba76..b3f74236 100755 --- a/plugins/other/snmp__netapp_inodeusage_ +++ b/plugins/other/snmp__netapp_inodeusage_ @@ -51,7 +51,7 @@ of Network Appliance, Inc. in the U.S. and other countries. =head1 BUGS This plugin wasn't tested on many hardware. If you encounter bugs, -please report any to Guillaume Blairon ELE. +please report them to Guillaume Blairon ELE. =head1 LICENSE @@ -92,7 +92,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_inodeusage_(\d)*$/) { +if ($tail =~ /^netapp_inodeusage_(\d+)$/) { $df_id = $1; $name_oid = '1.3.6.1.4.1.789.1.5.4.1.2.' . $df_id; } else {