dan anderson
2009-06-09 22:58:33 UTC
A few places in the docs it is mentioned that MIBS=ALL is needed to
denote that all mib files (normally in /usr/local/share/snmp/mibs/)
should be loaded. Alternately, individual mibs can be specified
instead of the ALL keyword. In my testing, library calls to
snmp_parse_oid parse the mibs in that directory correctly without MIBS
being set at all in the environment. Are the docs outdated? Or is that
env variable only checked by compiled apps, and not by the library?
Cheers,
-Dan
denote that all mib files (normally in /usr/local/share/snmp/mibs/)
should be loaded. Alternately, individual mibs can be specified
instead of the ALL keyword. In my testing, library calls to
snmp_parse_oid parse the mibs in that directory correctly without MIBS
being set at all in the environment. Are the docs outdated? Or is that
env variable only checked by compiled apps, and not by the library?
Cheers,
-Dan