problem about sending V2 trap
"liuying" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dear: I have a problem about sending V2 trap. When I use "snmp.c, snmp.so" to send trap,I can recerive it sucessfully. But when I use: $ gcc main.c -L -lsnmp …… -I ./include -o main In the main.c,Iuse: write_exampletrap2(COMMIT,NULL,0,0,NULL,NULL,0) to send trap. There are some errors. It returns: $ No log handling enabled - turning on stderr logging send_trap: no v2 trapOID varbind provided What can I do to solve the problem? Looking forward for your help!Thanks! ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ 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