deviceStatusCode
SDEVICE-MIB ·
.1.3.6.1.4.1.31034.2.5.1
Object
scalar Integer32
Returns an internal status or error code. 0 = OK, 16 = watchdog timer caused reset, 128 = slave module was reset, 144 = both previous.
Context
- MIB
- SDEVICE-MIB
- OID
.1.3.6.1.4.1.31034.2.5.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- systemstatus
- 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 'SDEVICE-MIB' -M '/opt/observium/mibs/schleifenbauer:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SDEVICE-MIB::deviceStatusCode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SDEVICE-MIB' -M '/opt/observium/mibs/schleifenbauer:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SDEVICE-MIB::deviceStatusCode'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of