Hey everyone,
So I've been working with PHP's SNMP::walk() function and I'm facing a small issue. When I use this function to retrieve SNMP data from a device, the output I get is in the form of numeric OIDs.
However, I was wondering if there's a way to get the variable names instead of these numeric OIDs in the output. It would be much easier for me to understand and work with the data if I could see the actual variable names.
Has anyone come across a similar situation? If so, could you please guide me on how to achieve this? I'd really appreciate any help or suggestions.
Thanks in advance!

Hey there,
I understand your frustration with getting numeric OIDs instead of variable names in the output of PHP's SNMP::walk(). I've encountered a similar situation in the past, and I found a solution that worked for me.
One possible approach is to use the SNMP::setEnumPrint() method before calling the SNMP::walk() function. This method allows you to enable the printing of enumerations when SNMP values are translated. By doing this, you should be able to see the variable names instead of numeric OIDs in the output.
Here's a quick code snippet to demonstrate how you can use it:
By enabling EnumPrint, the SNMP::walk() function should now return the variable names alongside their respective values. Give it a try and let me know if it helps you obtain the desired output.
I hope this helps!