hpnsaEventLogRecTrapEnable
HPNSAEVENT-MIB ·
.1.3.6.1.4.1.11.2.23.19.3.1.1.2
Object
column mandatory
r/w
Enumeration
Set the value to trapEnabled if you want the event log agent to send SNMP traps when an event of this type occurs. Set it to trapDisabled otherwise.
Context
- MIB
- HPNSAEVENT-MIB
- OID
.1.3.6.1.4.1.11.2.23.19.3.1.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- hpnsaEventCfgTableEntry
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 'HPNSAEVENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPNSAEVENT-MIB::hpnsaEventLogRecTrapEnable'
More examples
Read one indexed 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::hpnsaEventLogRecTrapEnable.<hpnsaEventLogRecType>'
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::hpnsaEventLogRecTrapEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | trapDisabled |
2 | trapEnabled |