Thank you very much. Can you give me the name of a document where this is 
stated? 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
Sent: mercoledì 17 ottobre 2007 13.12
To: DI BACCO ANTONIO - technolabs
Cc: [email protected]
Subject: Re: How to change variables values in SET-RESPONSE telegram

On 17/10/2007 <[EMAIL PROTECTED]> wrote:
> I have an agent connected to an AgentX subagent. When I receive a SET_ACTION
> I take the request and try to do something like this in the subagent code:
>
> *requests->requestvb->val.integer = 0x05;
>
> In SET telegram I can see the original value that was 0x08 but in the
> response telegram I expect to see 0x05, instead I always see 0x08.

That is corrrect.
The response to a SET request will always contain the same newly-assigned
values.  You cannot return different values to those provided.

This is part of the SNMP specs.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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

Reply via email to