2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Updated config regexp, thanks to Rachid Mokrani.

This commit is contained in:
Guillaume Blairon 2010-11-29 10:49:59 +01:00 committed by Steve Schnepp
parent 0452b7acdb
commit dfbf9b33f5

View File

@ -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 E<lt>L<g@yom.be>E<gt>.
This plugin wasn't tested on many hardware. If you encounter bugs,
please report them to Guillaume Blairon E<lt>L<g@yom.be>E<gt>.
=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 {