2009/3/12 Rodolfo Leffa <rodolfole...@gmail.com>: > I've compiled it, but i'm getting no answers from the agent to the > requisitions to my module. Other stuff like sysUpTime, for example, works!
What about other information outside the system group? (The IP, UDP or TCP stats & tables, for example). It could be a simple matter of access control - see the FAQ. There are several entries in the FAQ relevant to your problem. Please try the suggestions listed there. > My question is: do I have to put some include or initialization code > somewhere to my module to work?? There should be an "init" routine in the code for your module, yes. That is typically where the module registers with the main agent, and hence how the agent knows which handler to call for these MIB objects. > Like I've done in > mib_modules_init.h and > mib_modules_include.h under windows. Or just the --with-mib-modules=MYMODULE > does the magic?? configure --with-mib-modules=xxx will add a call to 'xxx_init()' to the file mib_modules_init.h and will include the header file 'xxx.h' within mib_modules_include.h These files are built automatically by configure. The only reason you have to edit them manually under Windows is that this environment doesn't use 'configure'. Dave ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ 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/listinfo/net-snmp-users