Re: Exclude basic MIBs

Dejan Bojic <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>




________________________________
From: Mike Ayers <[email protected]>
To: Dejan Bojic <[email protected]>; [email protected]
Sent: Tue, December 29, 2009 8:41:56 PM
Subject: RE: Exclude basic MIBs

> From: Dejan Bojic [mailto:[email protected]]
> Sent: Tuesday, December 29, 2009 3:11 AM

> I try to run configure with --with-out-mib-modules=mibII,... option and
> I got few errors during compiling source (the problem,  maybe I was
> wrong, is in the file snmptrapd_auth.c which include a file from mibII
> mibII/vacm_conf.h).
> Is "mibII" obligatory module, and if I want to exclude it, I must
> specify all modules from "mibII" one by one?

    Instead of excluding MIB modules, try including only those you want to appear.  You may also need to peruse the oputput of `./configure --help` to see if there's any other switches you need to flip to match things up.

> And (for this I don't expect an answer, only surprising, at least for
> me is) why I can get a pure Net-SNMP master agent without any module
> implemented (or this is possible, but I don't know how)?

    ./configure --enable-mini-agent


    HTH,

Mike

Thanks for answer.

But:
Including modules does not exclude default modules (there are still mibII modules) and mini agent still include few MIB modules (beside that, then I have problem to use AgentX subagent).

I solved problem using "without" option for configuration command (specifying all modules which I need to change).  

Dejan.

------------------------------------------------------------------------------
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.