logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: snmpd installation: msg#00368

Subject: Re: snmpd installation
        [ Sorry for the delay in responding ]

> I have built the net-snmp agent and want to copy the files of relevance to a
> ramdisk image before loading to the target hardware.
> 
> I do not want to use the "make install" because I just want the snmp daemon
> and the associated configuration files (run-time files).

It's probably safest to use some form of "make install" to ensure that all
the necessary files are installed and relinked (if necessary).

You don't need to do a "top-level" install.
But try

        cd snmplib ; make install
        cd agent   ; make install

That's likely to prove safer than trying to copy binaries and
libraries from within the source code tree - particularly if you're
using shared libraries.


> I also know that I need to copy the configuration files in
> /usr/local/share/snmp.
> 
> Is there any other files that I will need to successfully run the snmpd
> on the target platform?

If you're going to use MIB object names in the configuration files,
then you'll need to install the relevant MIB files as well.

But other than that, the main library, the agent libraries and the
agent binary should be the lot.

Dave




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>