mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 10:28:36 +00:00
Updated config regexp, thanks to Rachid Mokrani.
This commit is contained in:
parent
dfbf9b33f5
commit
d3a0ed0bc9
1 changed files with 2 additions and 2 deletions
|
@ -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 E<lt>L<g@yom.be>E<gt>.
|
||||
please report them to Guillaume Blairon E<lt>L<g@yom.be>E<gt>.
|
||||
|
||||
=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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue