On 08/21/18 07:52, Simon Chamlian wrote: > It is not that easy in my case because I am cross compiling the agent > for an embedded target system. Also, the whole package is being compiled > from within Yocto (bitbake). > > So I ran ./configure --with-mib-modules " file1 file2" > > I noticed this created couple of Makefiles. > > Then I ran > bitbake net-snmp > which compiled the agent. I hoped that my modules would be integrated > but when I burn the image on the target embedded system, > snmpd is running but somehow my modules aren't being called so a get on > my mib is not returning the expected value.
You do not have to follow the instructions from the Wiki to build the subagent - explicitly invoking the cross-compiler is also fine. Since you think that snmpd did not contact the subagent: have you checked whether AgentX was enabled in snmpd.conf? Bart. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders