rename atto fibrebridge

This commit is contained in:
garnier-quentin 2019-06-21 10:07:34 +02:00
parent 03d86ccca5
commit 5a4da49879
5 changed files with 9 additions and 9 deletions

View File

@ -20,7 +20,7 @@
# Author : ArnoMLT # Author : ArnoMLT
# #
package network::atto::fiberbridge::snmp::mode::components::alarm; package network::atto::fibrebridge::snmp::mode::components::alarm;
use strict; use strict;
use warnings; use warnings;

View File

@ -20,7 +20,7 @@
# Author : ArnoMLT # Author : ArnoMLT
# #
package network::atto::fiberbridge::snmp::mode::components::temperature; package network::atto::fibrebridge::snmp::mode::components::temperature;
use strict; use strict;
use warnings; use warnings;

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::atto::fiberbridge::snmp::mode::fcportusage; package network::atto::fibrebridge::snmp::mode::fcportusage;
use base qw(centreon::plugins::templates::counter); use base qw(centreon::plugins::templates::counter);

View File

@ -20,7 +20,7 @@
# Author : ArnoMLT # Author : ArnoMLT
# #
package network::atto::fiberbridge::snmp::mode::hardware; package network::atto::fibrebridge::snmp::mode::hardware;
use base qw(centreon::plugins::templates::hardware); use base qw(centreon::plugins::templates::hardware);
@ -47,7 +47,7 @@ sub set_system {
], ],
}; };
$self->{components_path} = 'network::atto::fiberbridge::snmp::mode::components'; $self->{components_path} = 'network::atto::fibrebridge::snmp::mode::components';
$self->{components_module} = ['alarm', 'temperature']; $self->{components_module} = ['alarm', 'temperature'];
} }

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::atto::fiberbridge::snmp::plugin; package network::atto::fibrebridge::snmp::plugin;
use strict; use strict;
use warnings; use warnings;
@ -31,8 +31,8 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'hardware' => 'network::atto::fiberbridge::snmp::mode::hardware', 'hardware' => 'network::atto::fibrebridge::snmp::mode::hardware',
'fcport-usage' => 'network::atto::fiberbridge::snmp::mode::fcportusage', 'fcport-usage' => 'network::atto::fibrebridge::snmp::mode::fcportusage',
); );
return $self; return $self;
@ -44,6 +44,6 @@ __END__
=head1 PLUGIN DESCRIPTION =head1 PLUGIN DESCRIPTION
Check Atto FiberBridge (6500, 7500,...) in SNMP. Check Atto FibreBridge (6500, 7500,...) in SNMP.
=cut =cut