snMspsStandbyState

SN-MSPS-SCX-MIB · .1.3.6.1.4.1.4329.20.1.1.1.1.24.2.4

Object

scalar Enumeration
Standby connection state.
Bit 0 is always 1, bit 1 is Master/Slave, 
bit 2 is Active/Passive and bit 8 is Partner not found or not.
          
standbyMasterPassive(1)   		- Master in passive state
standbySlavePassive(3)   	    - Slave in passive state
standbyMasterActive(5)  	    - Master in active state
standbySlaveActive(7)     		- Slave in passive state
standbyMasterPassive-lost(17)   - Master in passive state but partner is lost
standbySlavePassive-lost(19)    - Slave in passive state but partner is lost
standbyMasterActive-lost(21)    - Master in active state but partner is lost
standbySlaveActive-lost(23)     - Slave in active state but partner is lost
standbyWaitingForPartner(257)   - Waiting for partner, partner was not yet found
standbyDisabled(300)     	    - Standby connection is disabled

Context

MIB
SN-MSPS-SCX-MIB
OID
.1.3.6.1.4.1.4329.20.1.1.1.1.24.2.4
Type
scalar
Access
readonly
Status
current
Parent
snMspsRingRedundancyStandby

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsStandbyState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsStandbyState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1standbyMasterPassive
3standbySlavePassive
5standbyMasterActive
7standbySlaveActive
17standbyMasterPassive-lost
19standbySlavePassive-lost
21standbyMasterActive-lost
23standbySlaveActive-lost
257standbyWaitingForPartner
300standbyDisabled