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

@ -35,6 +35,7 @@ sub new {
'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',
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
'flash-memory' => 'network::alcatel::omniswitch::snmp::mode::flashmemory', 'flash-memory' => 'network::alcatel::omniswitch::snmp::mode::flashmemory',
'memory' => 'network::alcatel::omniswitch::snmp::mode::memory', 'memory' => 'network::alcatel::omniswitch::snmp::mode::memory',
'spanning-tree' => 'snmp_standard::mode::spanningtree', 'spanning-tree' => 'snmp_standard::mode::spanningtree',

View File

@ -35,6 +35,7 @@ sub new {
'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',
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
'spanning-tree' => 'snmp_standard::mode::spanningtree', 'spanning-tree' => 'snmp_standard::mode::spanningtree',
); );

View File

@ -38,6 +38,7 @@ sub new {
'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',
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
'memory' => 'centreon::common::cisco::standard::snmp::mode::memory', 'memory' => 'centreon::common::cisco::standard::snmp::mode::memory',
'memory-flash' => 'centreon::common::cisco::standard::snmp::mode::memoryflash', 'memory-flash' => 'centreon::common::cisco::standard::snmp::mode::memoryflash',
'qos-usage' => 'centreon::common::cisco::standard::snmp::mode::qosusage', 'qos-usage' => 'centreon::common::cisco::standard::snmp::mode::qosusage',

View File

@ -35,6 +35,7 @@ sub new {
'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',
'list-spanning-trees' => 'snmp_standard::mode::listspanningtrees',
'memory' => 'centreon::common::h3c::snmp::mode::memory', 'memory' => 'centreon::common::h3c::snmp::mode::memory',
'spanning-tree' => 'snmp_standard::mode::spanningtree', 'spanning-tree' => 'snmp_standard::mode::spanningtree',
'uptime' => 'snmp_standard::mode::uptime', 'uptime' => 'snmp_standard::mode::uptime',