slmPortsNumber
SL-MAIN-MIB ·
smartoptics variant
·
.1.3.6.1.4.1.4515.1.3.1.30
Object
scalar SNMPv2-SMIInteger32
The number of ports in the system. The value is taken from the SEEP.
Context
- MIB
- SL-MAIN-MIB
- OID
.1.3.6.1.4.1.4515.1.3.1.30- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- slmSys
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 'SL-MAIN-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-MAIN-MIB::slmPortsNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-MAIN-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-MAIN-MIB::slmPortsNumber'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647