Not that I think snmplib isn't good, but maybe it'll be easier to
start with a simpler library?  I've had alot of luck with s2nmp.

It's a japanese library, but google translate gives enough info to
figure it out  http://translate.google.com/translate?hl=en&sl=ja&u=http://members.at.infoseek.co.jp/m6809/index-j.html&ei=5erJSoD2KaLOtAP805yiBQ&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3Ds2nmp%26hl%3Den%26safe%3Dactive%26client%3Dfirefox-a%26rls%3Dcom.ubuntu:en-US:unofficial%26hs%3DbQn

Here's how you would walk the tree (list any and all OIDs under your
starting point) using it:

#!/usr/bin/ruby
require 'socket'
require 's2nmp'

SNMP.new("itlj2").walk("public",["1."]){|i| puts i[0]}


Nice and easy way to find what OIDs you're looking for.


--Kyle