snStackSmSlotIndex

HP-SN-AGENT-MIB · .1.3.6.1.4.1.11.2.3.7.11.12.1.5.1.5

Object

scalar r/w Integer32
The Slot 0 is the Master slot and Slot 1-8 are slaves. 
All the slot-based MIB data can be retrieved with respect to 
this slot index such as snChassis global MIB.

Context

MIB
HP-SN-AGENT-MIB
OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.5.1.5
Type
scalar
Access
readwrite
Status
current
Parent
snStackGen

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-8