Net-SNMP: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 3: Line 3:
./configure --prefix=/www --with-default-snmp-version="3" --with-sys-contact="boiarino@jlab.org" --with-sys-location="bldg97room102A" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp"  
./configure --prefix=/www --with-default-snmp-version="3" --with-sys-contact="boiarino@jlab.org" --with-sys-location="bldg97room102A" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp"  


You are about to be prompted with a series of questions.  Answer
make
them carefully, as they determine how the SNMP agent and related
applications are to function.


After the configure script finishes, you can browse the newly
make install
created net-snmp-config.h file for further - less important - parameters to
modify.  Be careful if you re-run configure though, since net-snmp-config.h
will be overwritten.

Revision as of 14:52, 23 February 2009

cd /usr/local/src/net-snmp-5.4.2.1

./configure --prefix=/www --with-default-snmp-version="3" --with-sys-contact="boiarino@jlab.org" --with-sys-location="bldg97room102A" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp"

make

make install