Hi, I am coding with the APIs provided by net-snmp library, the version is net-snmp5.5.
Then I meets warning message on the screen,like: No log handling enabled - turning on stderr logging Created directory: /var/net-snmp Created directory: /var/net-snmp/mib_indexes Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) ... This seems really dirty. >From the earlier mail, I get that to set the OS enviroment MIBS will let the "Cannot find module" thing disappear. But my tool will run on different OS enviroments that I cannot change OS status as my wish. And, in another mail also send by me, you said this should be fixed in 5.7.1. But I can only use version 5.5 limited by other factors. So,I tried snmp_enable_filelog() before and after init_snmp(). But still get the same warning message. I can see the call of netsnmp_register_loghandler() in the function snmp_enable_filelog(). Why it still comes to "No log handling enabled"? It really confuse me a lot. I also tried snmp_disable_log() and snmp_disable_stderrlog(), which leads to the same result. Are there any other suggestion? Thanks a lot.
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ 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
