scGenMonSwitches

XSWITCH-MIB · .1.3.6.1.4.1.81.28.1.2.5

Object

scalar mandatory OctetString
A bitmap defining the switch status, whether it is functional or not.
The list should start with the MSB. 
Value of each bit:
		0  -  the switch is not functional 
	1  -  the switch is functional
	The mapping is:
	Bit 0 : Left DomainX
	Bit 1 : Right DomainX

Context

MIB
XSWITCH-MIB
OID
.1.3.6.1.4.1.81.28.1.2.5
Type
scalar
Access
readonly
Status
mandatory
Parent
scGenMon

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

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

Syntax

OctetString

Values & Constraints

Object Constraints
range: 2-2