Re: Exclude basic MIBs

Dejan Bojic <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks, for answer, but I still have problems with the MIBs registered with REGISTER_MIB macro.

I left the idea of not changing the Net-SNMP master agent, but now other problems disappear.

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?

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)? 

Thanks.





________________________________
From: Dave Shield <[email protected]>
To: Dejan Bojic <[email protected]>
Cc: [email protected]
Sent: Fri, December 4, 2009 1:22:11 PM
Subject: Re: Exclude basic MIBs

2009/12/4 Dejan Bojic <[email protected]>:
> I need to disable/ unregister standard MIBs registered by
> Net-SNMP agnet in the subagnet. Is it possible?

You should be able to register your new implementations
at a higher priority than the default.  These would then be
used in preference to the standard versions.

But note that you probably need to match the granularity of
your registrations to that of the standard implementations.
If you register for the 'system' group at high priority, and
the main agent registers the objects individually, then the
more-specific registrations will be used (even if the priority
is lower).

Dave

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