hpnsaEventLogEraseLog
HPNSAEVENT-MIB ·
.1.3.6.1.4.1.11.2.23.19.5.4
Object
scalar mandatory
r/w
Enumeration
Set this variable to integer value of 1234 in order to erase the entire log area the next time the agent polls
Context
- MIB
- HPNSAEVENT-MIB
- OID
.1.3.6.1.4.1.11.2.23.19.5.4- Type
- scalar
- Access
- readwrite
- 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::hpnsaEventLogEraseLog.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::hpnsaEventLogEraseLog'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1234 | eraseLogNow |