send_trap error.
Palmentieri Nunzio <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <49FCBDCB40420B409FB4EA8D712CC66D03E642B3@srv003snap.napoli.it.int.atosorigin.com> |
Hi all, I'm trying to use code form notification.c to send a trap. I linked notification.o with my code.c, and tried to use init_notification(); send_example_notification(); but I receive the following error, and no trap is generated. send_trap: no v2 trapOID varbind provided If I use the same calls from a subagent, it works. Could anyone explain me what I'm missing? Thanks in advance. Nunzio Palmentieri Web Care Solution Atos Origin Via Antiniana 2/a 80078 Pozzuoli (NA) - ITALY Direct +39 081 6103 388 Mobile +39 335 1214 806 Fax +39 081 6103 200 e-mail <mailto:[email protected]> mailto:[email protected] Web <http://www.atosorigin.com/> www.atosorigin.com This electronic message contains information from Atos Origin, which may be privileged and confidential. The information is intended to be use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.