This is a discussion on Re: AGENT EXT-SIT ON NAILS within the SNMP Users forums, part of the Networking and Network Related category; On 28 Mar 2005 15:36:49 -0000 Parthiban wrote: PN> to integrate my wmanIfMib MIB to the agent, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 28 Mar 2005 15:36:49 -0000 Parthiban wrote:
PN> to integrate my wmanIfMib MIB to the agent, i have generated the c template PN> code,using "mib2c tool" with the configuration file "mib2c.mfd.conf" If you are using the MFD conf file, I suggest you use the latest CVS, as I'm regularly making improvements. PN> please kindly any of dear ones help me, where i have to write the code for PN> reading the contentsfrom a text file for snmpget and PN> write the code for- writing the contents back into a text file for snmpset The XX_cache_load routine would be responsible for reading the file and creating rows. Saving the file is a bit trickier, since you have to make sure that the request was successful. This is handled automatically in the CVS version, and the post_request routine now passes a result code so you can know if it is ok to save the file. PN> what are the other subsequent changes needed to be made for PN> making a snmpget,snmpset and snmpwalk on this mib table contents PN> and that should be on which of the files? PN> PN> and also there is no MAke file generated for this table while running the PN> mib2c tool... how am i to test this ....along with agent running. Run mib2c again, once with '-c mfd-makefile.m2c' and once with '-c subagent.m2c'. This will let you make an AgentX sub-agent which you can run with the snmpd master agent. PN> and also a new file "wmanIfBsControllerStatusTable_doxygen.conf" which is PN> not described in any of the tutorials,and online documentation. PN> PN> what is the use of this configuration file..? where am i to copy that PN> file????? It is a configuration file for doxygen, which generates documentation from source files. You can safely ignore this file, as I haven't focused a lot of effort on keeping it up to date and testing. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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/...net-snmp-users |