hwSysRebootTime
HUAWEI-SYS-MAN-MIB ·
.1.3.6.1.4.1.2011.5.25.19.1.14.2.1.3
Object
column OctetString
The time at which the reboot action occurred.
we will only take octet strings
with length 8 for this object which indicates the
local time of the switch. The maximum scheduled
time is 30 days from the current system clock time.
field octets contents range
1 1-2 year 0..65536
2 3 month 1..12
3 4 day 1..31
4 5 hour 0..23
5 6 minutes 0..59
6 7 seconds 0..60
(use 60 for leap-second)
7 8 deci-seconds 0..9
Context
- MIB
- HUAWEI-SYS-MAN-MIB
- OID
.1.3.6.1.4.1.2011.5.25.19.1.14.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwSysRebootRecordEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-SYS-MAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SYS-MAN-MIB::hwSysRebootTime'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SYS-MAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SYS-MAN-MIB::hwSysRebootTime.<hwSysRebootRecordIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SYS-MAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SYS-MAN-MIB::hwSysRebootTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 8-8
Conformance
Member of