> After setting an Address like this 192.168.143.10, i get with the
> appropriate snmpget-command following result:
> ... = Hex-STRING: C0 A8 8F 0A
> 
> This is fine, because it is an InetAdressType

Yup - which is represented in SNMP as a 4-element OCTET STRING.

> But, when setting an Address like this 41.41.41.41, the result is a little
> bit strange:
> ... = STRING: "))))"
> 
> From my point of view, the second IP-Adress is a valid address.

This is still a 4-element OCTET STRING, but it just so happens that
all four octets correspond to printable characters.
So the "snmpget" command is guessing how to display it, and guessing
wrong.    It thinks it's an ASCII string, rather than a Hex string,
or (better) a dotted quad.

Try running "snmpget -Ox ...."



> Actually i'm using net-snmp v5.1.2. Are the coders going to fix this
> problem in future releases?

What is the MIB object that you are retrieving?
If the MIB file is defined suitably, I would expect that the
tools should display this properly already.

Dave



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to