Re: How to change variables values in SET-RESPONSE telegram
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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