RE: How to change variables values in SET-RESPONSE telegram

"DI BACCO ANTONIO - technolabs" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <F1F6EC0C8B75034F9E3A79FC85122E8EAF461E@aquib01a>
 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
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.