On Tue, 2006-02-21 at 17:20 +0100, Taner mehmetali wrote:

> i see the value "test" that i set in the code as Hex-String
> 
> snmpget -v2c -cpublic 192.168.2.101 npIpxGetUnitCfgResp2.0
> 
> JETDIRECT3-MIB::npIpxGetUnitCfgResp2.0 = Hex-STRING: 74 65 73 74 00
> 
> which is the Hex-string translation of "test"

Not quite - it's the hex string translation of "test\0"

It's that last trailing null character that makes this string
non-printable.   Check the MIB module code that returns this
value, and make sure it doesn't include the trailing null.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to