On Thu, 28 Jul 2005 18:21:19 -0500 Chris wrote:
CC> When several objects are set in a single command, I've noticed that
CC> the snmp agent groups sets of the same object together.

The SNMP specs do not define order of evaluation - or rather, it says all
objects are to be set 'as if simultaneously'.

CC> What I want to do is use a set to c as a flag of sorts.  The
CC> agent will say, ok, c was set now I need to go store a,b,c to some
CC> external variable.

Set requests with multiple varbinds are one of the more difficult cases to
handle. You have to play games with the modes.

CC> But how the oids are currently handled, the values
CC> of 2,3,4 have already been written over by 5,6,7 by the time the c
CC> handler gets called to do its first set commit.

so do a temporary save during an earlier mode.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to