add listspanningtrees mode to severals plugins

This commit is contained in:
Colin Gagnaire 2019-01-16 12:18:01 +01:00
parent add8e81eb4
commit 0ed32ab511
4 changed files with 36 additions and 32 deletions

View File

@ -31,13 +31,14 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'cpu' => 'network::alcatel::omniswitch::snmp::mode::cpu',
'hardware' => 'network::alcatel::omniswitch::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'flash-memory' => 'network::alcatel::omniswitch::snmp::mode::flashmemory',
'memory' => 'network::alcatel::omniswitch::snmp::mode::memory',
'spanning-tree' => 'snmp_standard::mode::spanningtree',
'cpu' => 'network::alcatel::omniswitch::snmp::mode::cpu',
'hardware' => 'network::alcatel::omniswitch::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
'flash-memory' => 'network::alcatel::omniswitch::snmp::mode::flashmemory',
'memory' => 'network::alcatel::omniswitch::snmp::mode::memory',
'spanning-tree' => 'snmp_standard::mode::spanningtree',
);
return $self;

View File

@ -31,11 +31,12 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'cpu' => 'centreon::common::cisco::smallbusiness::snmp::mode::cpu',
'environment' => 'centreon::common::cisco::smallbusiness::snmp::mode::environment',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'spanning-tree' => 'snmp_standard::mode::spanningtree',
'cpu' => 'centreon::common::cisco::smallbusiness::snmp::mode::cpu',
'environment' => 'centreon::common::cisco::smallbusiness::snmp::mode::environment',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
'spanning-tree' => 'snmp_standard::mode::spanningtree',
);
return $self;

View File

@ -31,19 +31,20 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'configuration' => 'centreon::common::cisco::standard::snmp::mode::configuration',
'cpu' => 'centreon::common::cisco::standard::snmp::mode::cpu',
'environment' => 'centreon::common::cisco::standard::snmp::mode::environment',
'hsrp' => 'centreon::common::cisco::standard::snmp::mode::hsrp',
'interfaces' => 'snmp_standard::mode::interfaces',
'ipsla' => 'centreon::common::cisco::standard::snmp::mode::ipsla',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'memory' => 'centreon::common::cisco::standard::snmp::mode::memory',
'memory-flash' => 'centreon::common::cisco::standard::snmp::mode::memoryflash',
'qos-usage' => 'centreon::common::cisco::standard::snmp::mode::qosusage',
'spanning-tree' => 'snmp_standard::mode::spanningtree',
'stack' => 'centreon::common::cisco::standard::snmp::mode::stack',
'uptime' => 'snmp_standard::mode::uptime',
'configuration' => 'centreon::common::cisco::standard::snmp::mode::configuration',
'cpu' => 'centreon::common::cisco::standard::snmp::mode::cpu',
'environment' => 'centreon::common::cisco::standard::snmp::mode::environment',
'hsrp' => 'centreon::common::cisco::standard::snmp::mode::hsrp',
'interfaces' => 'snmp_standard::mode::interfaces',
'ipsla' => 'centreon::common::cisco::standard::snmp::mode::ipsla',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
'memory' => 'centreon::common::cisco::standard::snmp::mode::memory',
'memory-flash' => 'centreon::common::cisco::standard::snmp::mode::memoryflash',
'qos-usage' => 'centreon::common::cisco::standard::snmp::mode::qosusage',
'spanning-tree' => 'snmp_standard::mode::spanningtree',
'stack' => 'centreon::common::cisco::standard::snmp::mode::stack',
'uptime' => 'snmp_standard::mode::uptime',
);
return $self;

View File

@ -31,13 +31,14 @@ sub new {
$self->{version} = '1.0';
%{$self->{modes}} = (
'cpu' => 'centreon::common::h3c::snmp::mode::cpu',
'hardware' => 'centreon::common::h3c::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'memory' => 'centreon::common::h3c::snmp::mode::memory',
'spanning-tree' => 'snmp_standard::mode::spanningtree',
'uptime' => 'snmp_standard::mode::uptime',
'cpu' => 'centreon::common::h3c::snmp::mode::cpu',
'hardware' => 'centreon::common::h3c::snmp::mode::hardware',
'interfaces' => 'snmp_standard::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
'memory' => 'centreon::common::h3c::snmp::mode::memory',
'spanning-tree' => 'snmp_standard::mode::spanningtree',
'uptime' => 'snmp_standard::mode::uptime',
);
return $self;