Hi I want to write a SNMP module, but I somehow can't get it initialized and snmpwalk/snmpget returns "No Such Object available on this agent at this OID" respectively.
The steps that I've done till now: * I wrote my own MIB file (some scalars, below enterprises and our enterprise id) * I checked if this MIB file is correct using snmptranslate * I generated c skeleton code with mib2c and implemented it * I got the net-snmp sources, configured them with my MIB file, make, make install * It gets compiled and installed * I added my MIB file to /usr/share/snmp/mibs * I added a "mibs + : <mymib>" statement to snmp.conf (apparently in snmpd.conf the mibs statement is not recognized) Then I start my compiled snmpd with "snmpd -f -Lo -D" and I can see that my MIB file is loaded. But if I register the debug token (snmpd -f -Lo -D<mymodule>), that was generated by mib2c, there is no ouput that my module gets initialized. I even removed the if statement before the call to init_<mymodule> in agent/mibgroup/mib_module_inits.h but this didn't work either. How can I get my module initialized? Any help would be appreciated! Juri ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
