blob: 6521c9e10291e0527a52483490c18adb2f4ffc76 [file] [log] [blame]
.TH net-snmp-config 1 "16 Nov 2006" VVERSIONINFO "Net-SNMP"
net-snmp-config \- returns information about installed net-snmp libraries and binaries
.B net-snmp-config
The \fInet-snmp-config\fP shell script is designed to retrieve the
configuration information about the libraries and binaries dealing with
the Simple Network Management Protocol (SNMP), built from the
.B net-snmp
source package. The information is particularily useful for
applications that need to link against the SNMP libraries and hence
must know about any other libraries that must be linked in as well.
displays the net-snmp version number
displays the indent options from the Coding Style
displays a example command line to search to source
code for a list of available debug tokens
SNMP Setup commands:
\fB\-\-create\-snmpv3\-user\fR [-ro] [-a authpass] [-x privpass] [-X DES|AES]
[-A MD5|SHA] [username]
These options produce the various compilation flags needed when
building external SNMP applications:
lists additional compilation flags needed
for external applications (excludes \fB\-I\fR. and
extra developer warning flags, if any)
lists additional compilation flags needed
lists libraries needed for building applications
lists libraries needed for building subagents
lists netsnmp specific libraries
lists libraries needed by netsnmp libs
lists netsnmp specific agent libraries
\fB\-\-external\-agent\-libs\fR lists libraries needed by netsnmp libs
Automated subagent building (produces an OUTPUTNAME binary file):
[This feature has not been extensively tested, use at your own risk.]
\fB\-\-compile\-subagent\fR OUTPUTNAME [--norm] [--cflags flags]
[--ldflags flags] mibmodule1.c [...]]
leave the generated .c file around to read.
\fB\-\-cflags\fR flags
extra cflags to use (e.g. \fB\-I\fR...).
\fB\-\-ldflags\fR flags
extra ld flags to use (e.g. \fB\-L\fR... \fB\-l\fR...).
Details on how the net-nsmp package was compiled:
Display original configure arguments
Display the modules compiled into the agent
Display the installation prefix