cswSwitchState

OBS ✓
CISCO-STACKWISE-MIB · .1.3.6.1.4.1.9.9.500.1.2.1.1.6

Object

column Enumeration
The current state of a switch:
              
waiting         - Waiting for a limited time on other
                  switches in the stack to come online.
              
progressing     - Master election or mismatch checks in
                  progress.
              
added           - The switch is added to the stack.
              
ready           - The switch is operational.
              
sdmMismatch     - The SDM template configured on the master
                  is not supported by the new member.
              
verMismatch     - The operating system version running on the
                  master is different from the operating
                  system version running on this member.
              
featureMismatch - Some of the features configured on the
                  master are not supported on this member.
              
newMasterInit   - Waiting for the new master to finish
                  initialization after master switchover
                  (Master Re-Init).
              
provisioned     - The switch is not an active member of the
                  stack.
              
invalid         - The switch's state machine is in an
                  invalid state.
              
removed         - The switch is removed from the stack.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Status
Explore Observium network monitoring

Context

MIB
CISCO-STACKWISE-MIB
OID
.1.3.6.1.4.1.9.9.500.1.2.1.1.6
Type
column
Access
readonly
Status
current
Parent
cswSwitchInfoEntry
Groups
3

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACKWISE-MIB::cswSwitchState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACKWISE-MIB::cswSwitchState.<entPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACKWISE-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACKWISE-MIB::cswSwitchState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1waiting
2progressing
3added
4ready
5sdmMismatch
6verMismatch
7featureMismatch
8newMasterInit
9provisioned
10invalid
11removed