RE: possible bug in getnext implementation
"Rotem Tzuk" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to use snmpset to set values in table. I use snmpset ... MyMIB::MyVal.1 = newVal For now this does not work. Is this the correct way to do it? thanks Rotem -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Tuesday, December 11, 2007 5:47 PM To: Rotem Tzuk Cc: [email protected] Subject: Re: possible bug in getnext implementation On 11/12/2007, Rotem Tzuk <[email protected]> wrote: > it's indexed by string value. > I use a name as index In which case, if the row index string is "Station1" (length 8), then a GETNEXT request for someColumn.9 would indeed move on to the next column. The OID of this instance would be someColumn.8.'S'.'t'.'a'.'t'.'i'.'o'.'n'.'1' so someColumn.9 is lexically greater. The only time you would get another instance of the same column would be if you had a row with a string index of length 9 (or more). Dave ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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