Re: making MIB.txt file reading at compile time
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGYhW1KUreu+4FxxQ4184qVA9+1RuygLtV2oo712UFfh-g@mail.gmail.com> |
On 23 January 2012 14:26, ashok kumar <[email protected]> wrote: > I am observing all the MIB files is read at the agent start up time > from a configured location. If we do not provide the configuration > location of MIBs, the snmpget operations are failing saying can not > find the OID. First thing - the agent and client tools can still operate without the MIB files, as long as you give the numeric OIDs. The files are only needed to translate a MIB object name (like 'sysUpTime') into the equivalent numeric OID (.1.3.6.1.2.1.1.3) > I need to avoid this reading of MIB files at agent start up time for > performance reasons Try starting the agent with the command-line option -m "" to load an empty list of MIB files. > and may be do this at compile time. To set the default list of MIB modules to be empty, try ./configure --with-mibs="" ..... To omit the MIB parsing code completely, try ./configure --disable-mib-loading ...... Dave ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ 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