chNumSlots
CHASSIS-MIB ·
cabletron variant
·
.1.3.6.1.4.1.52.4.1.1.2.3
Object
scalar mandatory
Integer32
Number of slots in a chassis. For bounded, slot-less systems, the value of this object shall be zero(0).
Context
- MIB
- CHASSIS-MIB
- OID
.1.3.6.1.4.1.52.4.1.1.2.3- Type
- scalar
- Access
- readonly
- Status
- mandatory
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 'CHASSIS-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CHASSIS-MIB::chNumSlots.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CHASSIS-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CHASSIS-MIB::chNumSlots'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-64