Re: Compiling a agent extension under Linux

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/3/24 Rodolfo Leffa <[email protected]>:
>  How do I add a MIB to the defaults mibs to be
> loaded on net-snmp-config.h ??

Add the line

   config_add_mib( MY-MIB )

to the relevant module header file.
Then when you run "configure --with-mib-modules", it will add this
MIB to the default list, at the same time as including the MIB
module implementation to the agent.

Dave

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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
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.