Stefan,
I don't think you can use send_easy_trap. Look into:
send_enterprise_trap_vars
or
send_v2trap (easier, but I haven't tried yet)
There are examples of both in the project.
Robert Wilcox
--- Stefan Wagner <[EMAIL PROTECTED]> wrote:
> Hi ,
> I have problems with send_easy_trap() funktion ,
> I have an subagent and a small own MIB,
> I want to send a enterprises Trap if an Event occur:
>
> like
>
> if (.......)
> {
> send_easy_trap(SNMP_TRAP_ENTERPRISESPECIFIC, 1);
> }
>
> but my subagent mean :
>
> send_trap: Unknown PDU type
>
>
> Could anyone give me advice ?
>
> Thanks in advance
>
>
>
-------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings &
> Training.
> Attend Black Hat Briefings & Training, Las Vegas
> July 24-29 -
> digital self defense, top technical experts, no
> vendor pitches,
> unmatched networking opportunities. Visit
> www.blackhat.com
> _______________________________________________
> Net-snmp-coders mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders