Hi,

I apology creating a ticket but I'm not familiar with the process.

In fact I want to know how it is choiced to display information in string format instead of hex-string?

snmpset -v 2c -t 3 -r 1 -m all -O sq -c private 192.168.100.1 1.3.6.1.4.1.XXXX.2.99.1.1.2.1.4.1.2.8 x %1
%1 is once 7071BCF87B36 once 7071BCF87B1F

Answer is once in string format and once in Hex-String format.


Thanks for your help.

BR
Thierry

---------- Message transféré ----------
De : "SourceForge.net" <nore...@sourceforge.net>
Date :
Objet : [ net-snmp-Bugs-2999463 ] why snmpget display string instead of hex-string
À : nore...@sourceforge.net
Cc :


Bugs item #2999463, was opened at 2010-05-10 18:48


Message generated for change (Comment added) made by tanders


You can respond by visiting:


https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2999463&group_id=12694





Please note that this message will contain a full copy of the comment thread,


including the initial issue submission, for this request,


not just the latest update.


Category: agent


Group: windows


>Status: Closed


>Resolution: Invalid


Priority: 5


Private: No


Submitted By: Thierry (tcazeaux)


Assigned to: Nobody/Anonymous (nobody)


Summary: why snmpget display string instead of hex-string





Initial Comment:


Hi,


I install recently version windows XP v.5.5 of net-snmp.





I have a string filed.





snmpset -v 2c -t 3 -r 1 -m all -O sq -c private 192.168.100.1 1.3.6.1.4.1.XXXX.2.99.1.1.2.1.4.1.2.8 x %1





%1 is once 7071BCF87B36 once 7071BCF87B1F





result is the following:


mac address 70:71:BC:F8:7B:36


C:\Program Files\ireasoning\mibbrowser\mibs>snmpget -v 1 -c public 192.168.100.1 .1.3.6.1.2.1.17.1.1.0


SNMPv2-SMI::mib-2.17.1.1.0 = STRING: "pq╝°{:"





mac address 70:71:BC:F8:7B:1F


C:\Program Files\ireasoning\mibbrowser\mibs>snmpget -v 1 -c public 192.168.100.1 .1.3.6.1.2.1.17.1.1.0


SNMPv2-SMI::mib-2.17.1.1.0 = Hex-STRING: 70 71 BC F8 7B 1F





How snmpget choice to answer in hex-string or in string format?


I saw a similar issue but closed and without information to help me (year 2006).





BR


Thierry








----------------------------------------------------------------------





>Comment By: Thomas Anders (tanders)


Date: 2010-05-10 23:01





Message:


It depends on whether the response is considered printable or not. But


still, as Bart says, please direct all further support queries to the


mailing lists.





----------------------------------------------------------------------





Comment By: (bvassche)


Date: 2010-05-10 18:54





Message:


Support questions should be sent to net-snmp-users@lists.sourceforge.net


instead of creating a bug report for them.





----------------------------------------------------------------------





You can respond by visiting:


https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2999463&group_id=12694



------------------------------------------------------------------------------

_______________________________________________
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