This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



net-snmp-config(1)                                Net-SNMP                                net-snmp-config(1)



NAME
       net-snmp-config - returns information about installed net-snmp libraries and binaries

SYNOPSIS
       net-snmp-config [OPTIONS]

DESCRIPTION
       The  net-snmp-config  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
       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.


OPTIONS
       --version
              displays the net-snmp version number

       --indent-options
              displays the indent options from the Coding Style

       --debug-tokens
              displays a example command line to search to source code for a list of available debug tokens

       SNMP Setup commands:

       --create-snmpv3-user [-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:

       --base-cflags
              lists  additional  compilation  flags needed for external applications (excludes -I. and extra
              developer warning flags, if any)

       --cflags
              lists additional compilation flags needed

       --libs lists libraries needed for building applications

       --agent-libs
              lists libraries needed for building subagents

       --netsnmp-libs
              lists netsnmp specific libraries

       --external-libs
              lists libraries needed by netsnmp libs

       --netsnmp-agent-libs
              lists netsnmp specific agent libraries

       --external-agent-libs lists libraries needed by netsnmp libs

       Automated subagent building (produces an OUTPUTNAME binary file): [This feature has not  been  exten-sively extensively
       sively tested,  use at your own risk.]

       --compile-subagent OUTPUTNAME [--norm] [--cflags flags]
              [--ldflags flags] mibmodule1.c [...]]

       --norm leave the generated .c file around to read.

       --cflags flags
              extra cflags to use (e.g. -I...).

       --ldflags flags
              extra ld flags to use (e.g. -L... -l...).

              Details on how the net-nsmp package was compiled:

       --configure-options
              Display original configure arguments

       --snmpd-module-list
              Display the modules compiled into the agent

       --prefix
              Display the installation prefix



4.2 Berkeley Distribution                        16 Nov 2006                              net-snmp-config(1)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...