In my subagent, in the get/set handlers I need to reach the fields of the
SNMPv2 header,
such as RequestID, AgentAddress, Community.
Is it possible to retrieve these fields using regular APIs from the
registered handler
(registered with netsnmp_register_instance) ?
Thank for help.
__
> On Mon, 18 Apr 2005 07:53:46 +0200, Kodel Oleg <[EMAIL PROTECTED]> said:
Kodel> In my subagent, in the get/set handlers I need to reach the
Kodel> fields of the SNMPv2 header, such as RequestID, AgentAddress,
Kodel> Community. Is it possible to retrieve these fields using
Kodel> regular API
:[EMAIL PROTECTED]
> Sent: Tuesday, April 19, 2005 7:36 PM
> To: Kodel Oleg
> Cc: net-snmp-users@lists.sourceforge.net
> Subject: Re: Retrieving SNMP header fields in the handler
>
>
> >>>>> On Mon, 18 Apr 2005 07:53:46 +0200, Kodel Oleg
> <[EMAIL PRO
On Wed, 2005-04-20 at 08:37, Kodel Oleg wrote:
> I'm requested by my customer to implement this certain mechanism:
> The SNMP manager will add to every SNMP message some "magic key".
> My agent (I'll use agentX)
OK - then you've immediately got a *major* problem.
The request passed on to an Agent
Oleg Kodel
-
> -Original Message-
> From: Dave Shield [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 20, 2005 11:09 AM
> To: Kodel Oleg
> Cc: 'Wes Hardaker'; net-snmp-users@lists.sourceforge.net
> Subject: RE: Retrieving SNMP header fields in the handler
>
>
> On Wed, 20 Apr 2005 15:56:29 +0200, Kodel Oleg <[EMAIL PROTECTED]> said:
Kodel> The "magic key" MUST be calculated bu my own algorithm (SNMPv3
Kodel> not applicable) There is some hook within NET-SNMP that I can
Kodel> to put my own calculation?
The net-snmp package supports a extensible se
om: Wes Hardaker [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 20, 2005 8:43 PM
> To: Kodel Oleg
> Cc: 'Dave Shield'; 'Wes Hardaker';
> net-snmp-users@lists.sourceforge.net
> Subject: Re: Retrieving SNMP header fields in the handler
>
>
> >