Loading MIBS for Ruby SNMP

  • Thread starter jackster the jackle
  • Start date
J

jackster the jackle

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 at http://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
 
Y

yermej

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

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).
 
J

jackster the jackle

yermej said:
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).

Thanks yermej...I found them and was able to import CISCO-SMI but the
problem I'm having is that I need to load about 20 different Cisco mibs
for my needs and most of the ones I need throw errors that say 3 other
mibs are required before I can load the one I'm trying to load.

As I work my way up the chain of required prerequisite mibs that need to
be loaded, I am finally at what seems to be the top of the chain and I'm
getting this error:

range limit exceeds underlying base type

anyone ever see this error or know how to get around it?

thanks

jackster.mobi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top