Hi Dave, Let me be specific with my query. My requirement is : User can add mibs. The Custom mibs should be validated and should be loaded. For example my mib file name can be sample.mib. Inside that I may have a IfMIB. So in that case my mib name should be IfMIB and not sample. In NET SNMP we have a method called read_mib(FileName), which reads the mib files and returns Errors if any.
What my requirement is Load the mib files and check if they are valid. If so return the mib name. Regards, sowmya -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Tuesday, May 26, 2009 4:52 PM To: Sowmya P Venkatesh Cc: [email protected] Subject: Re: monitor "looking" at objects which are not supposed to be monitored 2009/5/26 Sowmya P Venkatesh <[email protected]>: > In NET-SNMP, when we load a mib file there is a function called LoadMib. Errr... where? I've done a quick search of the source code and can't spot any routine by this name. (It doesn't feel like Net-SNMP naming convention either). > From where do I get the mib name because I may have a different file > name but the mib name may be different. The main routine for loading a MIB module would be "read_module", which takes the name of the MIB (not the filename). Dave ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ 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
