This is a discussion on Re: Semaphore / Synchronizing write operations within the SNMP Users forums, part of the Networking and Network Related category; On 23/10/2007, vsaavedra <vsaavedra@maisis.pt> wrote: > When using a spinlock aproach, should I do : &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 23/10/2007, vsaavedra <vsaavedra@maisis.pt> wrote:
> When using a spinlock aproach, should I do : > > snmpset -v 2c -c public localhost SpinLockObject i 0 MyLeaf i 1 No. First of all, the spinLockObject is a scalar object, so you need to give the OID of the (sole) instance - i.e. spinLockObject.0 Secondly, you need to give the correct spin-lock value - not 0. Otherwise the SET will fail. That's the whole point of a spin-lock. I suggest you re-read the description of the TestAndIncr syntax (in the SNMPv2-TC MIB) 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |