Got NoSuchName when I was SNMP requesting a MIB with long string value
"ling zhou" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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. My subagent didn't report any errors but I noticed that the function handling the MIB request (with name handle_xxxxxx ) got called 7~8 times in that problematic situation while the it only got called once in normal situation. I suspect that there may be a 256-byte buffer defined in snmpd which stores the snmp response. Could one give me some suggestions? Thank you in advance. Cheers, Ling ------------------------------------------------------------------------- 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