Re: Got NoSuchName when I was SNMP requesting a MIB with long string value

"Roy M. Silvernail" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
ling zhou wrote:
> Hi, Group,
> 
> 
> 
> I am using NET-SNMP version 5.2.1 on my embedded Linux system. My subagent
> is attached to snmpd via AgentX. The subagent was working well and we could
> get the SNMP table objects and scalar objects correctly until I implemented
> a string type scalar MIB variable (len of string > 256 bytes) recently. I
> noticed that if len of string <= 256 it worked OK. I got NoSuchName if len
> of string > 256.

ASN.1 coding uses one byte to indicate field length, limiting any one
component to 255 bytes.
-- 
Roy M. Silvernail is [email protected], and you're not
"It's just this little chromium switch, here." - TFT
http://www.rant-central.com

-------------------------------------------------------------------------
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
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.