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|SHA-512|SHA-384|SHA-256|SHA-224] [user‐
36              name]
37
38       These  options produce the various compilation flags needed when build‐
39       ing external SNMP applications:
40
41       --base-cflags
42              lists additional compilation flags needed for external  applica‐
43              tions (excludes -I. and extra developer warning flags, if any)
44
45       --cflags
46              lists additional compilation flags needed
47
48       --libs lists libraries needed for building applications
49
50       --agent-libs
51              lists libraries needed for building subagents
52
53       --netsnmp-libs
54              lists netsnmp specific libraries
55
56       --external-libs
57              lists libraries needed by netsnmp libs
58
59       --netsnmp-agent-libs
60              lists netsnmp specific agent libraries
61
62       --external-agent-libs lists libraries needed by netsnmp libs
63
64       Automated subagent building (produces an OUTPUTNAME binary file): [This
65       feature has not been extensively tested,  use at your own risk.]
66
67       --compile-subagent OUTPUTNAME [--norm] [--cflags flags]
68              [--ldflags flags] mibmodule1.c [...]]
69
70       --norm leave the generated .c file around to read.
71
72       --cflags flags
73              extra cflags to use (e.g. -I...).
74
75       --ldflags flags
76              extra ld flags to use (e.g. -L... -l...).
77
78              Details on how the net-nsmp package was compiled:
79
80       --configure-options
81              Display original configure arguments
82
83       --snmpd-module-list
84              Display the modules compiled into the agent
85
86       --prefix
87              Display the installation prefix
88
89
90
91V5.8                              16 Nov 2006               net-snmp-config(1)
Impressum