>>>>> On Sat, 26 Nov 2005 11:03:51 +0800, Âé Ñ©òÔ <[EMAIL PROTECTED]> said:
mprogrammer> I am implementing a deamon which want to get snmp trap mprogrammer> messages and save them to database, I've learned mprogrammer> "snmptrapd" program, but I don't konw how to get the trap mprogrammer> messages, current snmptrapd program doesn't have the mprogrammer> interface to let me operate snmp trap message . mprogrammer> could anyone tell me how could I get the trap message data? mprogrammer> (so that I can operate it freely) The traphandle attribute of the snmptrapd.conf configuration file will let you do this. Or the embedded perl support, available in the more recent versions of the package. In fact, net-policy (another source forge project) does just this: it grabs the data using the embedded perl support and puts it into a postgresql database table(s). -- 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_idv37&alloc_id865&op=click _______________________________________________ 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
