add listspanningtrees mode to severals plugins
This commit is contained in:
parent
add8e81eb4
commit
0ed32ab511
|
@ -31,13 +31,14 @@ sub new {
|
||||||
|
|
||||||
$self->{version} = '0.1';
|
$self->{version} = '0.1';
|
||||||
%{$self->{modes}} = (
|
%{$self->{modes}} = (
|
||||||
'cpu' => 'network::alcatel::omniswitch::snmp::mode::cpu',
|
'cpu' => 'network::alcatel::omniswitch::snmp::mode::cpu',
|
||||||
'hardware' => 'network::alcatel::omniswitch::snmp::mode::hardware',
|
'hardware' => 'network::alcatel::omniswitch::snmp::mode::hardware',
|
||||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||||
'flash-memory' => 'network::alcatel::omniswitch::snmp::mode::flashmemory',
|
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
|
||||||
'memory' => 'network::alcatel::omniswitch::snmp::mode::memory',
|
'flash-memory' => 'network::alcatel::omniswitch::snmp::mode::flashmemory',
|
||||||
'spanning-tree' => 'snmp_standard::mode::spanningtree',
|
'memory' => 'network::alcatel::omniswitch::snmp::mode::memory',
|
||||||
|
'spanning-tree' => 'snmp_standard::mode::spanningtree',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
|
|
@ -31,11 +31,12 @@ sub new {
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
%{$self->{modes}} = (
|
%{$self->{modes}} = (
|
||||||
'cpu' => 'centreon::common::cisco::smallbusiness::snmp::mode::cpu',
|
'cpu' => 'centreon::common::cisco::smallbusiness::snmp::mode::cpu',
|
||||||
'environment' => 'centreon::common::cisco::smallbusiness::snmp::mode::environment',
|
'environment' => 'centreon::common::cisco::smallbusiness::snmp::mode::environment',
|
||||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||||
'spanning-tree' => 'snmp_standard::mode::spanningtree',
|
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
|
||||||
|
'spanning-tree' => 'snmp_standard::mode::spanningtree',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
|
|
@ -31,19 +31,20 @@ sub new {
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
%{$self->{modes}} = (
|
%{$self->{modes}} = (
|
||||||
'configuration' => 'centreon::common::cisco::standard::snmp::mode::configuration',
|
'configuration' => 'centreon::common::cisco::standard::snmp::mode::configuration',
|
||||||
'cpu' => 'centreon::common::cisco::standard::snmp::mode::cpu',
|
'cpu' => 'centreon::common::cisco::standard::snmp::mode::cpu',
|
||||||
'environment' => 'centreon::common::cisco::standard::snmp::mode::environment',
|
'environment' => 'centreon::common::cisco::standard::snmp::mode::environment',
|
||||||
'hsrp' => 'centreon::common::cisco::standard::snmp::mode::hsrp',
|
'hsrp' => 'centreon::common::cisco::standard::snmp::mode::hsrp',
|
||||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||||
'ipsla' => 'centreon::common::cisco::standard::snmp::mode::ipsla',
|
'ipsla' => 'centreon::common::cisco::standard::snmp::mode::ipsla',
|
||||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||||
'memory' => 'centreon::common::cisco::standard::snmp::mode::memory',
|
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
|
||||||
'memory-flash' => 'centreon::common::cisco::standard::snmp::mode::memoryflash',
|
'memory' => 'centreon::common::cisco::standard::snmp::mode::memory',
|
||||||
'qos-usage' => 'centreon::common::cisco::standard::snmp::mode::qosusage',
|
'memory-flash' => 'centreon::common::cisco::standard::snmp::mode::memoryflash',
|
||||||
'spanning-tree' => 'snmp_standard::mode::spanningtree',
|
'qos-usage' => 'centreon::common::cisco::standard::snmp::mode::qosusage',
|
||||||
'stack' => 'centreon::common::cisco::standard::snmp::mode::stack',
|
'spanning-tree' => 'snmp_standard::mode::spanningtree',
|
||||||
'uptime' => 'snmp_standard::mode::uptime',
|
'stack' => 'centreon::common::cisco::standard::snmp::mode::stack',
|
||||||
|
'uptime' => 'snmp_standard::mode::uptime',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
|
|
@ -31,13 +31,14 @@ sub new {
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.0';
|
||||||
%{$self->{modes}} = (
|
%{$self->{modes}} = (
|
||||||
'cpu' => 'centreon::common::h3c::snmp::mode::cpu',
|
'cpu' => 'centreon::common::h3c::snmp::mode::cpu',
|
||||||
'hardware' => 'centreon::common::h3c::snmp::mode::hardware',
|
'hardware' => 'centreon::common::h3c::snmp::mode::hardware',
|
||||||
'interfaces' => 'snmp_standard::mode::interfaces',
|
'interfaces' => 'snmp_standard::mode::interfaces',
|
||||||
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
|
||||||
'memory' => 'centreon::common::h3c::snmp::mode::memory',
|
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
|
||||||
'spanning-tree' => 'snmp_standard::mode::spanningtree',
|
'memory' => 'centreon::common::h3c::snmp::mode::memory',
|
||||||
'uptime' => 'snmp_standard::mode::uptime',
|
'spanning-tree' => 'snmp_standard::mode::spanningtree',
|
||||||
|
'uptime' => 'snmp_standard::mode::uptime',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
|
Loading…
Reference in New Issue