On Mon, 2008-06-23 at 09:58 +0800, Tewen Hsieh wrote: > Hi Dave, > > Thanks for your reply. > > I have tried "configure --enable-mini-agent", but mibII/system_mib is still > included. > If I want to remove it, I just need to use > "configure --enable-mini-agent --with-out-mib-modules=mibII/system_mib"?
The following removes all variables from the agent using Net-SNMP 5.4-branch configure --enable-mini-agent --without-mib-modules=default_module --with-mib-modules= utilities/execute,mibII/vacm_conf If you are using Net-SNMP 5.5 (trunk) then, at the moment, 'snmpd' is buildable without vacm_conf but 'snmptrapd' requires it. I do agree with Dave - you really should try things out yourself instead of asking about every single detail. /MF > Thanks, > > 永鈦鑫 iTAS Corporation > 新竹科學園區工業東三路6號 > NO. 6, Industry E. Rd. III, Science Park, Hsin-Chu, Taiwan 300, R.O.C. > Tel:03-6662595 Ext.1208 > E-mail:[EMAIL PROTECTED] > ----- Original Message ----- > From: "Dave Shield" <[EMAIL PROTECTED]> > To: "Tewen Hsieh" <[EMAIL PROTECTED]> > Cc: <[email protected]> > Sent: Tuesday, June 10, 2008 4:43 PM > Subject: Re: about remove all default modules > > > > 2008/6/10 Tewen Hsieh <[EMAIL PROTECTED]>: > >> If I want to compile without all default modules, how can I do? > > > > configure --enable-mini-agent > > > > That will include the bare minimum to provide a working agent. > > You can then include any extra modules using '--with-mib-modules" > > > > Dave > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
