From 08c8801458ab40a5c5eab8ee924b30fb929a0311 Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Mon, 19 Nov 2018 13:33:08 +0100 Subject: [PATCH] fix cisco standard stack mode typos --- centreon/common/cisco/standard/snmp/mode/stack.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centreon/common/cisco/standard/snmp/mode/stack.pm b/centreon/common/cisco/standard/snmp/mode/stack.pm index aa46b0974..2e706c276 100644 --- a/centreon/common/cisco/standard/snmp/mode/stack.pm +++ b/centreon/common/cisco/standard/snmp/mode/stack.pm @@ -256,13 +256,13 @@ my %map_state = ( my $mapping = { cswSwitchRole => { oid => '.1.3.6.1.4.1.9.9.500.1.2.1.1.3', map => \%map_role }, - cswSwitchState => { oid => '.1.3.6.1.4.1.9.9.500.1.2.1.1.5', map => \%map_state }, + cswSwitchState => { oid => '.1.3.6.1.4.1.9.9.500.1.2.1.1.6', map => \%map_state }, }; my $oid_cswSwitchInfoEntry = '.1.3.6.1.4.1.9.9.500.1.2.1.1'; my $oid_cswRingRedundant = '.1.3.6.1.4.1.9.9.500.1.1.3.0'; -sub run { +sub manage_selection { my ($self, %options) = @_; $self->{snmp} = $options{snmp};