1net-snmp-config(1)                 Net-SNMP                 net-snmp-config(1)
2
3
4

NAME

6       net-snmp-config   -   returns   information  about  installed  net-snmp
7       libraries and binaries
8

SYNOPSIS

10       net-snmp-config [OPTIONS]
11

DESCRIPTION

13       The net-snmp-config shell script is designed to retrieve the configura‐
14       tion information about the libraries and binaries dealing with the Sim‐
15       ple Network Management Protocol (SNMP), built from the net-snmp  source
16       package.  The  information is particularly useful for applications that
17       need to link against the SNMP libraries and hence must know  about  any
18       other libraries that must be linked in as well.
19
20

OPTIONS

22       --version
23              displays the net-snmp version number
24
25       --indent-options
26              displays the indent options from the Coding Style
27
28       --debug-tokens
29              displays  a  example command line to search to source code for a
30              list of available debug tokens
31
32       SNMP Setup commands:
33
34       --create-snmpv3-user [-ro] [-a authpass] [-x privpass]
35              [-X DES|AES] [-A MD5|SHA] [username]
36
37       These options produce the various compilation flags needed when  build‐
38       ing external SNMP applications:
39
40       --base-cflags
41              lists  additional compilation flags needed for external applica‐
42              tions (excludes -I. and extra developer warning flags, if any)
43
44       --cflags
45              lists additional compilation flags needed
46
47       --libs lists libraries needed for building applications
48
49       --agent-libs
50              lists libraries needed for building subagents
51
52       --netsnmp-libs
53              lists netsnmp specific libraries
54
55       --external-libs
56              lists libraries needed by netsnmp libs
57
58       --netsnmp-agent-libs
59              lists netsnmp specific agent libraries
60
61       --external-agent-libs lists libraries needed by netsnmp libs
62
63       Automated subagent building (produces an OUTPUTNAME binary file): [This
64       feature has not been extensively tested,  use at your own risk.]
65
66       --compile-subagent OUTPUTNAME [--norm] [--cflags flags]
67              [--ldflags flags] mibmodule1.c [...]]
68
69       --norm leave the generated .c file around to read.
70
71       --cflags flags
72              extra cflags to use (e.g. -I...).
73
74       --ldflags flags
75              extra ld flags to use (e.g. -L... -l...).
76
77              Details on how the net-nsmp package was compiled:
78
79       --configure-options
80              Display original configure arguments
81
82       --snmpd-module-list
83              Display the modules compiled into the agent
84
85       --prefix
86              Display the installation prefix
87
88
89
90V5.7.2                            16 Nov 2006               net-snmp-config(1)
Impressum