move peplink: peplink pepwave

This commit is contained in:
garnier-quentin 2019-02-21 14:39:21 +01:00
parent 0b5f6c6d26
commit bdcbb6273a
4 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::peplink::snmp::mode::cpu; package network::peplink::pepwave::snmp::mode::cpu;
use base qw(centreon::plugins::templates::counter); use base qw(centreon::plugins::templates::counter);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::peplink::snmp::mode::memory; package network::peplink::pepwave::snmp::mode::memory;
use base qw(centreon::plugins::templates::counter); use base qw(centreon::plugins::templates::counter);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::peplink::snmp::mode::wanusage; package network::peplink::pepwave::snmp::mode::wanusage;
use base qw(centreon::plugins::templates::counter); use base qw(centreon::plugins::templates::counter);

View File

@ -18,7 +18,7 @@
# limitations under the License. # limitations under the License.
# #
package network::peplink::snmp::plugin; package network::peplink::pepwave::snmp::plugin;
use strict; use strict;
use warnings; use warnings;
@ -31,11 +31,11 @@ sub new {
$self->{version} = '1.0'; $self->{version} = '1.0';
%{$self->{modes}} = ( %{$self->{modes}} = (
'cpu' => 'network::peplink::snmp::mode::cpu', 'cpu' => 'network::peplink::pepwave::snmp::mode::cpu',
'interfaces' => 'snmp_standard::mode::interfaces', 'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces', 'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'memory' => 'network::peplink::snmp::mode::memory', 'memory' => 'network::peplink::pepwave::snmp::mode::memory',
'wan-usage' => 'network::peplink::snmp::mode::wanusage', 'wan-usage' => 'network::peplink::pepwave::snmp::mode::wanusage',
); );
return $self; return $self;
@ -47,6 +47,6 @@ __END__
=head1 PLUGIN DESCRIPTION =head1 PLUGIN DESCRIPTION
Check Peplink equipments in SNMP. Check Peplink Pepwave equipments in SNMP.
=cut =cut