statusCode
WESTERMO-LYNX-MIB ·
.1.3.6.1.4.1.16177.1.2.6.1
Object
scalar Enumeration
Read out a summary from the status code from the status registers. Any error in port alarms masked against port link status, DC relays or frnt will return 2.
Context
- MIB
- WESTERMO-LYNX-MIB
- OID
.1.3.6.1.4.1.16177.1.2.6.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- stat
- 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 'WESTERMO-LYNX-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-LYNX-MIB::statusCode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WESTERMO-LYNX-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WESTERMO-LYNX-MIB::statusCode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ok |
2 | error |
Conformance
Member of