Re: index defined as IMPLIED to avoid length oid, but nothing happens :-(

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 15/08/07, Torben Surmer <[email protected]> wrote:

>  %snmpset localhost .1.3.6.1.4.1.8072.2.2.1.1.2.\"sming\" s "David"
> NET-SNMP-MIB::netSnmp.2.2.1.1.2.5.115.109.105.110.103 =  STRING: "David"

<Doh!>

Of course - you're still including the length subidentifier in the OID
that you're providing to snmpset.

    "string"   is an explicit-length index string
    'string'    is an implicit-length index string


Try the same code, but use the command

   %snmpset localhost .1.3.6.1.4.1.8072.2.2.1.1.2.\'sming\' s "David"


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.