NEW option for load MIB file
dimitribellini opened this issue · 4 comments
Thanks so much for great work!
I can suggest to add an option to specify the MIB modules to load? Maybe you could also have the "all" option like SNMPWALK?
snmpwalk option:
-m MIB[:...] load given list of MIBs (ALL loads everything)
-M DIR[:...] look in given list of directories for MIBs
Thanks so much
Great idea, thanks. For now the script uses the Net-SNMP Perl library and relies on default SNMP configuration to determine where MIBs are loaded from. You can overwrite this using the mib_api environment variables detailed here: http://www.net-snmp.org/docs/man/mib_api.html.
I'll look at adding a feature to override MIB directories using &SNMP::addMibDirs.
Thank you for your good work, is a pleasure to propose new ideas and
receive a good feedback :-)
On Mon, Sep 19, 2016 at 8:22 AM, Ryan Armstrong notifications@github.com
wrote:
Great idea, thanks. For now the script uses the Net-SNMP Perl library and
relies on default SNMP configuration to determine where MIBs are loaded
from. You can overwrite this using the mib_api environment variables
detailed here: http://www.net-snmp.org/docs/man/mib_api.html.I'll look at adding a feature to override MIB directories using
&SNMP::addMibDirs http://search.cpan.org/%7Egsm/SNMP-4.2.0/SNMP.pm.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#7 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP6XPZjb5wHdQMvjhKQ6s_oCwjM_MOoEks5qriocgaJpZM4J8yNJ
.
Hi, I would like to vote for this enhancement as well :-). I 'll look at the suggestion above about the env vars.
Many thanks for sharing!!!
Frank
+1
That would make this a total dream to be honest. Thanks for everything