Re: If it's possible to get the engine ID from traphandle

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Wed, 29 Apr 2009 17:48:45 +0200, "Alex Peeters" <[email protected]> said:

AP> Do you have an example how to do this ?

Actually, it turns out it's already available in the embedded perl
support.  If you have embedded perl working within your net-snmp
installation, then you should be able to read and follow the
instructions in the NetSNMP::TrapReceiver perl module and you should be
able to pull out the engineIDs.  Both the contextEngineID and the
securityEngineID are available as keys to the PDU hash.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.