Re: MIB load trouble?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/12/22 Linnea Wren <[email protected]>:
> But, If I leave off the object, like this “snmpwalk -v2c -c public -m
> +CISCO-FIREWALL-MIB 1.1.1.1”, I get a bunch of SNMPv2-MIB, IF-MIB, IP-MIB,
> and SNMPv2-SMI objects, but no CISCO-FIREWALL-MIB objects.

Correct.
This is covered in the FAQ entry
   Why can't I see values in the <ENTERPRISE> tree?


> I’ve read the “Using and loading MIBs” tutorial, which got me to the point
> of being able to walk the specified object, but I don’t see anything there
> that enables me to get net-snmp to walk the whole CISCO-FIREWALL-MIB.


You need to specify the object that lies at the root of the tree which
you are interested in.  Something like

   snmpwalk .....  CISCO-FIREWALL-MIB::ciscoFirewallMIB

(note that if you're using the MIB::object syntax, then you don't need
to use the -m flag)

That will retrieve everything within the ciscoFirewallMIB subtree,
regardless of the MIB file where things are defined.  The various
MIB files are merged into a single tree by the library, so walking
the agent takes no account of MIB module boundaries - just the
OID heirarchy.

Dave

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.