Re: split mib file

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 11 November 2010 19:28, David A <[email protected]> wrote:
> we have big mib definition file. we build this into a dynamically
> loadable object and "dlmod" it at runtime in snmpd.conf. now i was
> hoping to split this mib file into multiple smaller ones to make it
> more manageable. (sp) ie, split some of the sub tree banches in
> seperate files. is this possible?


Question:
   are you talking about the MIB file
(i.e. the text file starting "MY-MIB DEFINITIONS ..."
 that contains the definitions of the various MIB objects
 and tables)?

Or are you talking about the mib implementation files
(containing the code for implementing some/all of the
 objects defined in the MIB file).

There is no problem at all about splitting the implementation
of the objects within a single MIB file, over multiple code
files.   We do it all the time, and there are plenty of examples
in the Net-SNMP source tree.
   You can implement these objects in whatever way is most
convenient - nothing outside your immediate development
team will care.


   However, if you're talking about changing the file containing
the MIB definitions, then this is a bit more problematic.
Having published these definitions, there are clearly defined
restrictions to the sorts of changes you are allowed to make.
   (You can, of course, ignore these restrictions - particularly
if these define purely private MIB objects, and you know for
certain all of the places where the old definitions are being
used.  But it's generally regarded as Bad Practise, and is
normally not necessary anyway)


Dave

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-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.