1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-26 02:48:28 +00:00

Updated config regexp, thanks to Rachid Mokrani.

This commit is contained in:
Guillaume Blairon 2010-11-29 10:57:17 +01:00 committed by Steve Schnepp
parent dfbf9b33f5
commit d3a0ed0bc9

View file

@ -51,7 +51,7 @@ of Network Appliance, Inc. in the U.S. and other countries.
=head1 BUGS =head1 BUGS
This plugin wasn't tested on many hardware. If you encounter bugs, This plugin wasn't tested on many hardware. If you encounter bugs,
please report any to Guillaume Blairon E<lt>L<g@yom.be>E<gt>. please report them to Guillaume Blairon E<lt>L<g@yom.be>E<gt>.
=head1 LICENSE =head1 LICENSE
@ -92,7 +92,7 @@ my $session = Munin::Plugin::SNMP->session();
my ($host, undef, undef, $tail) = Munin::Plugin::SNMP->config_session(); my ($host, undef, undef, $tail) = Munin::Plugin::SNMP->config_session();
my ($df_id, $name_oid); my ($df_id, $name_oid);
if ($tail =~ /^netapp_inodeusage_(\d)*$/) { if ($tail =~ /^netapp_inodeusage_(\d+)$/) {
$df_id = $1; $df_id = $1;
$name_oid = '1.3.6.1.4.1.789.1.5.4.1.2.' . $df_id; $name_oid = '1.3.6.1.4.1.789.1.5.4.1.2.' . $df_id;
} else { } else {