Is there a way to add arbitrary path (e.g. /usr/share/mibs/cisco) to MIB search path?
This is in Ubuntu 12.04.4 LTS.
Is there a way to add arbitrary path (e.g. /usr/share/mibs/cisco) to MIB search path?
This is in Ubuntu 12.04.4 LTS.
Came out very simple, thanks to rstory-work at #net-snmp irc channel:
Just add the line
mibdirs +/usr/share/mibs/cisco
to /etc/snmp/snmp.conf.
Per the snmp_config man page you should add the line mibdirs -/usr/share/mibs/cisco to one of the paths below:
~/.snmp/snmp.conf
/usr/share/snmp/snmp.conf
Use the home directory path if you only want a single user to have access.