snmpPollProtocol
DLM-MIB ·
.1.3.6.1.4.1.52.4.2.1.1.1.15
Object
column mandatory
r/w
Enumeration
Indicates the protocol to use to poll the host/device. If snmp is chosen, there must be at least one corresponding OID Table Entry or a general-failure will result. A corresponding OID Table Entry is an entry with the same Destination and Owner indices.
Context
- MIB
- DLM-MIB
- OID
.1.3.6.1.4.1.52.4.2.1.1.1.15- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- snmpPollEntry
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 'DLM-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLM-MIB::snmpPollProtocol'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DLM-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLM-MIB::snmpPollProtocol.<snmpPollDestination>.<snmpPollOwner>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLM-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLM-MIB::snmpPollProtocol'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | internet-ping |
2 | snmp |