Ok, I think I understand now ..... I should build NetSNMP as the "complete
package" and simply copy over the necessary elements onto our hardware box:
library files
snmpd.conf
snmpd executable
Basically, I can build NetSNMP with the applications, man pages, scripts, mibs,
etc... and then just copy the particular files located in the "/usr/local"
install directory tree onto our target hardwarebox. Does this make a lot more
sense?
Need Help <[EMAIL PROTECTED]> wrote: Yes, I think you might be right. Using
the basic/standard package would be ideal, however, the total size of
everything installed into the "/usr/local" directory is about 20Megs. Add in
my subagent code and the total might be around 23Megs. This might be too big
.... I will see.
When you describe "--disable-mibs" and "--disable-mib-loading" options you
mention "MIB files". Does this represent all code located in the
"../agent/mibgroup" directory which is related to the MIBs or are you referring
to the MIB.txt text files which are placed in the "/usr/local/share/snmp/mibs"
directory?
On more thing. I believe I remember that the IF-MIB comes with NetSNMP,
hwoever, not all field values are supported at this time. If I wanted to
support the IF-MIB then I know I could update the master agent software to do
this, but would it be possible to simply create a subagent to handle the IF-MIB
instead. This way, updating future releases of the master agent would be a
lot easier since I would not have to merge in any changed code, just simply
UnTar the new version and compile and install it. Or would this be unwise
since the current foundation of the IF-MIB already exists in the NetSNMP
framework.
Dave Shield <[EMAIL PROTECTED]> wrote: On 17/07/07, Need Help wrote:
> I am new to SNMP and I am
> not familiar with how people use SNMP in the "real world"
I suggest you talk to your customers, to find out what they expect
from the boxes you sell. We don't know anything about what sort
of equipment you are working with, so cannot sensibly comment
on what you should or shouldn't remove.
Unless you are particularly tight for space, I would be inclined
to leave most things in place, and just add support for your new
MIB file.
> Will someone please explain the difference between "--disable-mibs" and
> "--disable-mib-loading" options?
$ ./configure --help
--disable-mibs Do not install the mib files.
--disable-mib-loading Do not include code that parses and
manipulates the mib files.
The '--disable-mibs' flag will not attempt to install the MIB files
when you run "make install". But it does not touch the library
code - the agent/apps will still be able to parse MIB files if you
install them by hand.
The '--disable-mib-loading' code will strip out the library code that
parses MIB files. The resulting agent/'applications won't attempt
to read in any MIB files at all (even if they are installed).
> If we are not allowing "set" SNMP requests at this time, then would using
> the "--disable-set-support" option save me a lot of space or is it a minimal
> space savings?
Not a lot of space, no.
It's more of a security mechanism - removing the capability of handling
SET requests completely. Even if a SET-capable snmpd.conf file was
provided, the agent would still not accept SET requests.
I wouldn't bother with this unless you *know* that this is what you need.
> What exactly does "--enable-mini-agent" option do?
It removes all but the very bare bones of an agent.
Given the questions you've been asking so far, I really wouldn't bother
with any of these options. I would *STRONGLY* encourage you to use
as standard an environment as possible. The more you fiddle about
with these advances options, the more likely you are to run into
(unnecessary) difficulties.
Dave
---------------------------------
Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo!
Search.-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
---------------------------------
Pinpoint customers who are looking for what you sell. -------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders