Projet

Général

Profil

Révision dfbf9b33

IDdfbf9b33f5a3f8bc8586bf0f777105c5df1ce414
Parent 0452b7ac
Enfant d3a0ed0b

Ajouté par Guillaume Blairon il y a presque 14 ans

Updated config regexp, thanks to Rachid Mokrani.

Voir les différences:

plugins/other/snmp__netapp_diskusage_
55 55

  
56 56
=head1 BUGS
57 57

  
58
This plugin hasn't be tested on many hardware. If you encounter
59
bugs, please report any to Guillaume Blairon E<lt>L<g@yom.be>E<gt>.
58
This plugin wasn't tested on many hardware. If you encounter bugs,
59
please report them to Guillaume Blairon E<lt>L<g@yom.be>E<gt>.
60 60

  
61 61
=head1 LICENSE
62 62

  
......
113 113
my ($host, undef, undef, $tail) = Munin::Plugin::SNMP->config_session();
114 114
my ($df_id, $name_oid);
115 115

  
116
if ($tail =~ /^netapp_diskusage_(\d)*$/) {
116
if ($tail =~ /^netapp_diskusage_(\d+)$/) {
117 117
    $df_id    = $1;
118 118
    $name_oid = '1.3.6.1.4.1.789.1.5.4.1.2.' . $df_id;
119 119
} else {

Formats disponibles : Unified diff