NAME
net-snmp-config - returns information about installed net-snmp
libraries and binariesSYNOPSIS
nneett-ssnnmmpp-ccoonnffiigg [OPTIONS]
DESCRIPTION
The net-snmp-config shell script is designed to retrieve the configura-
tion information about the libraries and binaries dealing with the Sim-
ple Network Management Protocol (SNMP), built from the nneett-ssnnmmpp 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. OOPPTTIIOONNSS--vveerrssiioonn
displays the net-snmp version number
--iinnddeenntt-ooppttiioonnss
displays the indent options from the Coding Style--ddeebbuugg-ttookkeennss
displays a example command line to search to source code for a list of available debug tokens SNMP Setup commands:--ccrreeaattee-ssnnmmppvv33-uusseerr [-ro] [-a authpass] [-x privpass] [-X DES|AES]
[-A MD5|SHA] [username]
These options produce the various compilation flags needed when build-
ing external SNMP applications:--bbaassee-ccffllaaggss
lists additional compilation flags needed for external applica-
tions (excludes -II. and extra developer warning flags, if any)
--ccffllaaggss
lists additional compilation flags needed--lliibbss lists libraries needed for building applications
--aaggeenntt-lliibbss
lists libraries needed for building subagents--nneettssnnmmpp-lliibbss
lists netsnmp specific libraries--eexxtteerrnnaall-lliibbss
lists libraries needed by netsnmp libs--nneettssnnmmpp-aaggeenntt-lliibbss
lists netsnmp specific agent libraries--eexxtteerrnnaall-aaggeenntt-lliibbss 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.]--ccoommppiillee-ssuubbaaggeenntt OUTPUTNAME [-norm] [-cflags flags]
[-ldflags flags] mibmodule1.c [...]]
--nnoorrmm leave the generated .c file around to read.
--ccffllaaggss flags
extra cflags to use (e.g. -II...).
--llddffllaaggss flags
extra ld flags to use (e.g. -LL... -ll...).
Details on how the net-nsmp package was compiled:
--ccoonnffiigguurree-ooppttiioonnss
Display original configure arguments--ssnnmmppdd-mmoodduullee-lliisstt
Display the modules compiled into the agent--pprreeffiixx
Display the installation prefix4.2 Berkeley Distribution 16 Nov 2006 net-snmp-config(1)