dnsResCounterByOpcodeCode
DNS-RESOLVER-MIB ·
.0.0.32.2.1.2.3.1.1
Object
column DNS-SERVER-MIBDnsOpCode
The index to this table. The OpCodes that have already been defined are found in RFC-1035.
Context
- MIB
- DNS-RESOLVER-MIB
- OID
.0.0.32.2.1.2.3.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- dnsResCounterByOpcodeEntry
- 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 'DNS-RESOLVER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DNS-RESOLVER-MIB::dnsResCounterByOpcodeCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DNS-RESOLVER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DNS-RESOLVER-MIB::dnsResCounterByOpcodeCode.<dnsResCounterByOpcodeCode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DNS-RESOLVER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DNS-RESOLVER-MIB::dnsResCounterByOpcodeCode'
Syntax
- Source
- DNS-SERVER-MIBDnsOpCode
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..15
Conformance
Member of