ogOmSerialPortCount
OG-OMTELEM-MIB ·
.1.3.6.1.4.1.25049.10.19.2.1
Object
scalar r/w
Integer32
The number of serial ports
Context
- MIB
- OG-OMTELEM-MIB
- OID
.1.3.6.1.4.1.25049.10.19.2.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ogOmSerialPort
- Groups
- 1
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 'OG-OMTELEM-MIB' -M '/opt/observium/mibs/opengear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OG-OMTELEM-MIB::ogOmSerialPortCount.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OG-OMTELEM-MIB' -M '/opt/observium/mibs/opengear:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OG-OMTELEM-MIB::ogOmSerialPortCount'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535
Conformance
Member of