I understand the default directory to look for MIB files is the following:
/usr/local/share/snmp/mibs
However, I would like to change this to another location. If I set the
MIBDIRS environment variable as follows, then I can get it to find the MIB file
in a new provided location:
export MIBDIRS= +"/export/home/myname/snmp/usr/local/share/snmp/mibs"
However, I do not want to use the environment variable to make this setting, so
I tried the following two setups but nothing worked:
a) I tried including the following option in the "configure" command:
--with-mibdirs="/export/home/myname/snmp/usr/local/share/snmp/mibs"
b) I tried setting the following in the "snmp.conf" file:
mibdirs /export/home/myname/snmp/usr/local/share/snmp/mibs
Question:
Why does (a) and (b) not work for me?
**NOTE: I am not using "snmpd" to start the agent, but rather I am starting a
specialized agent called "ocStbHostAVInterfaceTable". Is this a problem ... or
should two options above still work regardless?
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
panel and lay it on
us.http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
hot CTA = Join Yahoo!'s user panel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders