SNMP
SNMP copied to clipboard
Certain return types do not get interpeted correctly in walks
I have begun testing with your example, and the walks are going really well, now that I installed GMP and it can handle the 64 bit counters correctly. However I am currently seeing issues where a return is a Hex-STRING value, and the returns get mangled.
snmpwalk -v2c -c noyb 192.168.15.58 1.3.6.1.2.1.92.1.3.1.1.3.7.100.101.102.97.117.108.116.1
iso.3.6.1.2.1.92.1.3.1.1.3.7.100.101.102.97.117.108.116.1 = Hex-STRING: 07 E5 0C 11 0A 19 36 00 2D 08 00
From the walk example:
1.3.6.1.2.1.92.1.3.1.1.3.7.100.101.102.97.117.108.116.1 = �
6-
Another using the example code:
1.3.6.1.2.1.55.1.5.1.8.2 = 8�G��}
manually:
snmpwalk -v2c -c noyb 192.168.15.58 1.3.6.1.2.1.55.1.5.1.8.2
iso.3.6.1.2.1.55.1.5.1.8.2 = Hex-STRING: 38 D5 47 DF DA 7D
Is there additional information that I can provide to assist in debugging this? Ubuntu 20.04 PHP 7.4.26