Dave, The Syntax of this Mib-Object is InetAddress and it looks suitable.
Almost parallel to your response, Robert sent a patch, which i will test. Thanks for your very quick response and kind regards, Sven > > > 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 > -- Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD ++++ Jetzt anmelden und testen http://www.gmx.net/de/go/mail ++++ -- Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD ++++ Jetzt anmelden und testen http://www.gmx.net/de/go/mail ++++ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
