SNMP Association file directory
Thu Apr 27 09:57:09 CEST 2006
Thanks for the reply.
Yes, I am talking about the .funcs files. Where should I place them in a
release? As per my knowledge the SNMP application (in my case SNMP Agent)
loads those files when loading the MIBs (compiled), correct? So, how can I
give the corresponding .funcs file for a certain MIB when loading?
In my .config file for the release I have below entries.
I have placed the compiled MIB files (.bin) in the directory specified by
db_dir parameter, but when I try to do snmpa:load_mibs/2 with just the name
of the MIB file, it doesn't work (error - noent). But if I give the full
path to the MIB file, it loads the file. But still I don't see it loading
the .funcs file, though I have the .funcs file in the same directory where
the .bin file is located.
Please help if you see any problem I do.
From: Micael Karlberg [mailto:]
Sent: Thursday, April 27, 2006 2:07 PM
To: Eranga Udesh
Subject: Re: SNMP Association file directory
Eranga Udesh wrote:
> In a release where should the Association file located?
Association file? Do you mean the .funcs files?
> I installed in
> the directory which I specified as the db_dir in the SNMP config file,
db_dir is just a place for the snmp application to store internal data.
It does not care what else you put into that directory, as long as you
don't mess with the files created by the snmp application. But in
principle, I would leave that directory to the snmp application (and not
put my own stuff into it).
> but it doesn't seem to be loading that file. The compiled MIB files
> (.bin) are also located in that directory. Also I had to give the full
> path to the .bin file (it didn't get it from the db_dir parameter place).
Most of this stuff is described in the documentation.
> What could be wrong?
> - Eranga
More information about the erlang-questions