One more comment:

I used  .coconut s 7FABC101 instead of ."coconut" s &FABC101 and get the
same result.

I tried the following command, and get noAccess error as following:

> snmpset -v 2c -c public localhost
.iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExamples.netSnmpExampleTables.netSnmpHostsTable.netSnmpHostsEntry.netSnmpHostAddress.1
s 7FABC101

Error in packet.
Reason: noAccess
Failed object: .1.3.6.1.4.1.8072.2.2.2.1.3.1


On Wed, Apr 27, 2011 at 10:08 AM, Zimmer Hu <zih...@gmail.com> wrote:

> Hi All,
>
> I have made example code netSnmpHostsTable running as an independent agent.
> And I can make mbrowse to set value for netSnmpHostAddress with index value
> ("coconut") correctly, no problem with creation, modification and deletion.
>
> But when I run snmpset in command line, I get "Unknown Object Identifier"
> error as following:
>
> > snmpset -v 2c -c public localhost
> .iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExamples.netSnmpExampleTables.netSnmpHostsTable.netSnmpHostsEntry.netSnmpHostAddress."coconut"
> s 7FABC101
>
> .iso.org.dod.internet.private.enterprises.netSnmp.netSnmpExamples.netSnmpExampleTables.netSnmpHostsTable.netSnmpHostsEntry.netSnmpHostAddress.coconut:
> Unknown Object Identifier (Index out of range: coconut (netSnmpHostName))
>
> I copied the OID from mbrowse and it should give no error, what's happened?
>
> Thanks,
> -Zimmer
>
>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to