hpnsaTrapMgrActiveCustomString
HPNSATRAPMNGR-MIB ·
.1.3.6.1.4.1.11.2.23.23.4.1.1.5
Object
column mandatory
OctetString
The custom string typically sent with an NSA trap
Context
- MIB
- HPNSATRAPMNGR-MIB
- OID
.1.3.6.1.4.1.11.2.23.23.4.1.1.5- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- hpnsaTrapMgrActiveTableEntry
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 'HPNSATRAPMNGR-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPNSATRAPMNGR-MIB::hpnsaTrapMgrActiveCustomString'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPNSATRAPMNGR-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPNSATRAPMNGR-MIB::hpnsaTrapMgrActiveCustomString.<hpnsaTrapMgrActiveTrapHandleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPNSATRAPMNGR-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPNSATRAPMNGR-MIB::hpnsaTrapMgrActiveCustomString'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-80