Re: [Tutorials] after running mib2c with mib2c.mfd.conf and configure, wha t's next?
Sharad Chandra <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | NIKSUN |
| Message-ID | <[email protected]> |
,---- [[email protected] wrote:] | I was looking into | http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module | http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/ | After mib2c using mib2c.mfd.conf, do I need to add code into master agent | so that it knows the new modules? mib2c creates function init_myTable. But | I did not see where I can modify master agent c source code to call | init_myTable. `---- Check this http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib/ifTable/mib2c.html generate Makefile and subagent. modify your <Table>_data_access.c add "master agentx" on your snmpd.conf restart snmpd run ./myTable -f you can query.. snmpwalk and others -- Cheers Sharad Chandra ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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