mprogrammer> I modified snmptrapd file, add a global trap handler by mprogrammer> myself, and I delete some instructuions of standard mprogrammer> snmptrapd(I think it maybe useless), and It runs ok, but mprogrammer> I find a problem, when sending trap messages after my mprogrammer> snmptrapd program started for one minute, my deamon mprogrammer> couldn't receive the trap messages or couldn't invoke my mprogrammer> global trap handler..I don't konw why? did I delete mprogrammer> crucial code of original snmptrapd??
When you modify the code extensively I'm afraid that it's a bit hard for us to debug. You need to do that... Certainly the commenting out of the library initialization will have ramifications (init_snmp()). -- Wes Hardaker Sparta, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ 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