Re: sendv2trap() ... who to change generic id?

2007-10-29 Thread Dave Shield
On 28/10/2007, Torben Surmer <[EMAIL PROTECTED]> wrote: > I use the sendv2trap() function like shown in the notification example to > send a snmp trap from my subagent. I now whant to send a warnstart trap OK - then pass the OID of the warmStart notification to sendv2trap(). If you're using "trap

sendv2trap() ... who to change generic id?

2007-10-28 Thread Torben Surmer
Hi to all, I use the sendv2trap() function like shown in the notification example to send a snmp trap from my subagent. I now whant to send a warnstart trap, which typically has a generic id 1. Does anybody know, how I can set the generic id? Thank you for advice. Torben _