I've been trying to figure this out for a few days now and have about exhausted all my resources. I am trying to write a web script to pull snmp information from a system that uses a custom mib table. When I do snmpwalkoid(<host>,<community,""); all I receive are the standard mib2 objects and none of the ones I'm looking for. From a command line, I can specify the mib file for ucd-snmp to use (snmpwalk specifically) and I get the values I'm looking for. I tried for the purpose of experimentation moving all the mibs in /usr/share/snmp/mibs to a backup directory and copying only the custom mib file in. After doing this, when use snmpwalk on the command line, I do not have to specify the mib file to get the values I want. The oid's are not translated correctly, but that is something that I can work on. Basically, I'm wondering if it is possible to get php's snmp functions to look at something other than the standard mib2 objects.
Thanks in advance for any help...