Hello, I want to create a dynamic module wich contain table value (string, integer) I follow the example gived in net-snmp (http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/dlmod) I'm using net-snmp 5.3.0.1
So I've done the step following : 1- Create the mib file in ASN1 2- generate code with mib2c (and resolve the problem for some fontion name) 3- generate the library 4- add in my_snmpd.conf the line (dlmod mylib /path/to/myslib.so) 5- run the snmpd (snmpd -f -L -Dmylib -c my_snmpd.conf) => OK I see the trace I put in the init function in mylib) The problem it's that i can't get any value of the data i create in my table the only info I've got with snmpwalk is for SNMPv2-MIB. if i do the request : 'snmptable -v1 -c public localhost MY-MIB::mytable' I, ve got : 'MY-MIB::mytable: No Entries' May some body can help me, or give me an url for load a dynamic module with table. thanks for your help Cyril This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
