Re: how to register new mibs?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/6/19 Irvs <[email protected]>:
> I am very new to using Net-Snmpd. I was able to generate newmodule.c and
> newmodule.h using the mib2c command in linux. And I noticed that somewhere
> in the code is the init_newmodule() where the new mib registration happens.
> I wonder where this function must be called? What file should I edit to have
> the new mibs registered during start up of net-snmpd.

If you run the command
     configure --with-mib-modules=newmodule

then this will add your new module to the build framework.
See the FAQ entry "Where should I put the files produced by 'mib2c'?"
for more information.

Dave

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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.