hallidave/ruby-snmp — Issue #10: Looking for way to disable all OID translations
Author: jjmanzer
Created: 2012-01-30 17:21:09+00:00
State: open

When I do an SNMP walk or an SNMP get using the numeric OID form I always get the translated form of the OID returned to me. I would like to deal with only numeric form going both ways. Can I get a option added to the Manager.new/open methods to do this? Perhaps a :translate_oid => true|false capability?

In other words when I send "1.3.6.1.2.1.1.2.0" I get back "SNMPv2-MIB::sysObjectID.0". I would like to disable this behavior and free myself from having to maintain many vendor MIBs (we have hundreds of MIBs worth of OIDs we want to poll).

If you would like me to provide some code suggestions can you suggest where I should look to get started?