,---- [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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to