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

Reply via email to