hpnsaEventLogLastErasedDate
HPNSAEVENT-MIB ·
.1.3.6.1.4.1.11.2.23.19.5.2
Object
scalar mandatory
OctetString
The date and time the event log area was last erased
field octets contents range
_________________________________________________
1 1 years since 1900 0..255
2 2 month 1..12
3 3 day 1..31
4 4 hour 0..23
5 5 minute 0..59
6 6 second 0..59
Context
- MIB
- HPNSAEVENT-MIB
- OID
.1.3.6.1.4.1.11.2.23.19.5.2- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- hpnsaEventLogStatistics
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 'HPNSAEVENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPNSAEVENT-MIB::hpnsaEventLogLastErasedDate.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPNSAEVENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPNSAEVENT-MIB::hpnsaEventLogLastErasedDate'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 6-6