shelfNum
XXX-MIB ·
.1.3.6.1.4.1.34592.1.1.1.1
Object
scalar Integer32
The number of shelf in current system
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'XXX-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'XXX-MIB::shelfNum.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'XXX-MIB' -M '/opt/observium/mibs/cdata:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'XXX-MIB::shelfNum'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-4