Hi, I am starting to program in php and I have a problem when making a snmp query. The answer to my query snmp I think is that it is incomplete. This is my code.
<?php
$a = snmpwalk("10.5.47.62","zCorumD1gRo", ".1.3.6.1.2.1.10.127.1.2.2.1.17.2");
foreach ($a as $val) {
echo "$val\n"; }
?>
The answer I get with this algorithm is:
Hex-STRING: 08 01 18 00 00 38 FF D0 00 0F 00 96 00 B2 FF 97 FF 6B 01 06 01 33 FE BB FD 74 02 FE 02 6E F4 44
but it should be (I capture these data with a BROWSER MIB:
Hex-STRING: 08 01 18 00 00 38 ff d0 00 0f 00 96 00 b2 ff 97 ff 6b 01 06 01 33 fe bb fd 74 02 fe 02 6e f4 44 7e 9c 00 00 fe d6 f2 f1 00 b3 03 35 ff 3d ff 85 00 17 01 4e 00 c6 ff 06 00 5b 00 55 ff 65 ff c3 00 80 00 3f 00 0a ff e1 ff ec 00 8c ff f0 00 9a 00 5f 00 7c ff f5 00 0f 00 03 00 23 ff e4 00 0d 00 08 00 73
I would really appreciate your help