whyReload
OLD-CISCO-SYSTEM-MIB ·
.1.3.6.1.4.1.9.2.1.2
Object
This variable contains a printable octet string which contains the reason why the system was last restarted.
Context
- MIB
- OLD-CISCO-SYSTEM-MIB
- OID
.1.3.6.1.4.1.9.2.1.2- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- lsystem
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 'OLD-CISCO-SYSTEM-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OLD-CISCO-SYSTEM-MIB::whyReload.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OLD-CISCO-SYSTEM-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OLD-CISCO-SYSTEM-MIB::whyReload'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.