juniSystemMaxSlotNumber

Juniper-System-MIB · .1.3.6.1.4.1.4874.2.2.2.1.3.1

Object

scalar Integer32
The highest number assigned to a slot in the system.  In a particular
hardware model, module slots have fixed numbers assigned to them, even
though in some instances there may be no actual slots associated with a
particular number.  In all cases there is a maximum slot number that
will never be exceeded:
     2 for ERX-3xx models
     6 for ERX-7xx models
    13 for ERX-14xx models
    16 for E320 models
          
Note that slot numbers are zero-based.

Context

MIB
Juniper-System-MIB
OID
.1.3.6.1.4.1.4874.2.2.2.1.3.1
Type
scalar
Access
readonly
Status
current
Parent
juniSystemModule
Groups
3

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

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-255