On 11/09/06, 尧昱 <[EMAIL PROTECTED]> wrote:
First, thank you very much. I have read the snmptrapd.conf manual page, and
have changed the snmptrapd.conf simply, and the trap/informs show out, but
in order to deal with the PDU received, I want to know how it do with the
pdu received in the codes( snmptrapd.c), and which functions do it,
print_handler, syslog_handler or others? How snmptrapd.c call them?
Normally, to handle incoming traps, you'd use an external script, and
register it using "traphandle" in the snmptrapd.conf file. It's not
typically necessary to touch the code of snmptrapd itself.
What exactly are you trying to do?
Dave
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders