Dear Álvaro, Have you used the AgentX protocol or is your MIB directly implemented into snmpd?
I think AgentX can be a better option for your application, to keep code from net-snmp separate from your code, IMHO. Regards, David De: alvaro gamarra [mailto:alvaro.gama...@controllis.com] Enviado el: miércoles, 24 de febrero de 2016 12:37 Para: net-snmp-coders@lists.sourceforge.net Asunto: Build external .c files Hi all, I am working with the net-snmp source code and I have already created a new mib that is working fine. The next step is to read the data to be shown through the SNMP, this data is read from another devices using the ModBUS protocol. I already have source code with the functions working for reading/writing data through the ModBUS and I would like to build them in the net-snmp as I do it with other apps running in my controller. How can I include these files? Is there any way to do it through the "configure" tool? Should I build them before and then include them as a external library (.o files) in the configure tool? Thanks for your help. Alvaro Gamarra Controllis, Limited Compass House Vision Park Cambridge CB24 9AD United Kingdom Ph: +44 (0) 1223 393 516 Fax: +44 (0) 1223 771 604 www.controllis.com Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente. Evite imprimir este mensaje si no es estrictamente necesario. This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address. Avoid printing this message if it is not absolutely necessary. ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders