From: yermej Date: 2008-01-17T06:54:58+09:00 Subject: Re: Loading MIBS for Ruby SNMP On Jan 16, 1:42 pm, jackster the jackle wrote: > I'm finally able to recieve traps from my Cisco devices and access the > variables from my script. > > I'm now at the point that I need the MIBs to decode the OIDs into > messages that make sense. > > In the documentation provided athttp://snmplib.rubyforge.org/, it says > that > "If you are using standard IETF MIBs then you're ready to go. Most of > the IETF MIBs have been included for you with Ruby SNMP." > > I'm currently getting this in my traps: > > [name=1.3.6.1.4.1.9.9.41.1.2.3.1.5.458007, value=Interface > GigabitEthernet7/12, changed state to up (OCTET STRING)] > > I looked up the OID for this and it belongs to the CISCO-SYSLOG-MIB. > > How can I tell if that is included in the list of standard IETF MIBs > that come with Ruby SNMP? > > also, what is the standard directory location of the default MIBS so > that I can look through them? > > thanks for all the help... > > jackster.mobi > -- > Posted viahttp://www.ruby-forum.com/. Mine are here: /usr/lib/ruby/gems/1.8/gems/snmp-1.0.1/data/ruby/snmp/mibs and I didn't see any Cisco MIBs. I've imported one in the past. It wasn't too difficult following the instructions from the Ruby SNMP site (or maybe they're linked from there).