trapVersion
ZHNSYSTEM ·
.1.3.6.1.4.1.5504.2.5.2.1.8.6.1.3
Object
column r/w
Enumeration
The trap types automatically supported by net-snmp and enabled/disabled in snmpd.conf. If not specified, the trapVersion will be set the default value of v2c.
Context
- MIB
- ZHNSYSTEM
- OID
.1.3.6.1.4.1.5504.2.5.2.1.8.6.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zhnTrapManagerInfoTableEntry
- 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 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNSYSTEM::trapVersion'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHNSYSTEM::trapVersion.<trapDestination>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHNSYSTEM' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHNSYSTEM::trapVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | v1 |
2 | v2c |
Conformance
Member of