man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

BSD.SNMPMOD.MK(7)    BSD Miscellaneous Information Manual    BSD.SNMPMOD.MK(7)

NAME — building modules for bsnmpd(1)

     .include <>

     The file <> simplifies the building of modules for the
     Begemot SNMP daemon, bsnmpd(1).  It provides some common functions for
     building a module and relies on <>, which is included by
     <> to actually build the shared library.

     The following make(1) variables control the special functions:

     MOD	   The short name of the module.  The name of the shared
		   library will be snmp_${MOD}.so.  There must exist a file
		   ${MOD}_tree.def for compilation with gensnmptree(1) which
		   contains the definition of the MIB tree implemented by the

     EXTRAMIBDEFS  A list of extra MIB definition files for gensnmptree(1).
		   This is optional.  This file list is given to both calls to
		   gensnmptree(1) — the one that extracts the symbols in XSYM
		   from the MIB definitions and the one that generates the ta‐
		   ble with OIDs served by this module.

     EXTRAMIBSYMS  A list of extra MIB definition files for gensnmptree(1).
		   This is optional.  This file list is given only to the call
		   to gensnmptree(1) that extracts symbols from MIB definition
		   files.  It is useful if there are dependencies on other
		   MIBs or for extracting global definitions for enumeration

     XSYM	   A list of symbols to be extracted from the MIB definition
		   files by gensnmptree(1).  This is optional.

     DEFS	   A list of MIB definition files to be installed.  This is

     BMIBS	   A list of textual MIBs to be installed.  This is optional.

     Three files are automatically created from the MIB definition files and
     the XSYM variable:

		   This contains a table with the tree implemented by the mod‐
		   ule.	 It is automatically included into the SRCS variable.

		   This contains preprocessor defines for all the OIDs defined
		   by the module and can be included in the module's source

     ${MOD}_oid.h  OID preprocessor definitions for all the symbols listed in
		   XSYMS.  This is to be included into the module's source

     bsnmpd(1), gensnmptree(1), snmpmod(3)

BSD				January 8, 2008				   BSD

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net