RE: Help to get trap name from PDU

2007-05-16 Thread Tu, Don
[email protected] Subject: Re: Help to get trap name from PDU On 14/05/07, Tu, Don <[EMAIL PROTECTED]> wrote: > I am writing a call back function to selectively forward traps based > on the name (or OID) of the trap in the PDU. You mean like the snmptrapd.conf "forwar

Re: Help to get trap name from PDU

2007-05-15 Thread Dave Shield
On 14/05/07, Tu, Don <[EMAIL PROTECTED]> wrote: > I am writing a call back function to selectively forward traps based on > the name (or OID) of the trap in the PDU. You mean like the snmptrapd.conf "forward" directive does? > I need to che

Help to get trap name from PDU

2007-05-14 Thread Tu, Don
Hi all, I am writing a call back function to selectively forward traps based on the name (or OID) of the trap in the PDU. I need to check the trap name inside the PDU against a given list of trap names. Is there a function call I can use to extract the name or OID of the trap from the trap PDU? T