Manual Page Result
0
Command: snmpi | Section: 8 | Source: Digital UNIX | File: snmpi.8.gz
snmpi(8) System Manager's Manual snmpi(8)
NAME
snmpi - The extensible SNMP subagent data initializer
SYNOPSIS
/usr/sbin/snmpi [-p] [-n prefix] [-e exclude_file] def_file [sub-
tree...]
DESCRIPTION
The snmpi program emits subtree object table initialization C code to
be compiled and linked with the method routines as part of an extensi-
ble SNMP subagent.
The def_file is a mosy output file or a concatenation of mosy output
files.
The subtree argument specifies the name of a MIB object that defines
the base of the objects that will be registered as a unit (with the sn-
mpd daemon) by the subagent. (The snmpd daemon will subsequently ex-
pect the subagent to handle all MIB objects subordinate to subtree.)
Several subtrees may be specified, and at least one is required unless
the -p flag is used.
If the base MIB object name is not unique, its name may be prefixed by
its parents name, separated by an underscore character (_); for exam-
ple, mn_system.
The subtree argument may also contain the suffix _tbl.h or _tbl.c to
facilitate the use of snmpi within makefiles.
For each subtree argument specified, snmpi produces the files sub-
tree_tbl.h and subtree_tbl.c.
For a complete description of using snmpi refer to the Network Program-
mer's Guide .
FLAGS
Generates formatted output of the internal tree of all MIB objects de-
fined in def_file. This option is useful in identifying problems in
MIB symbol resolution. Specifies a prefix string to be prepended to
each variable generated by the snmpi program. Specifies the name of a
file that will contain a list of MIB objects that are not to be in-
cluded in the emitted object table initialization code created by the
program.
FILES
Template exclusion file
RELATED INFORMATION
Commands: mosy(8), snmpd(8), snmp_request(8)
Network Programmer's Guide
IDENTIFICATION
Originally, this work was partially supported by the U.S. Defense Ad-
vanced Research Projects Agency and the Rome Air Development Center of
the U.S. Air Force Systems Command under contract number
F30602-88-C-0016. Marshall T. Rose wrote the original (insecure)
4BSD/ISODE SNMP package.
David L. Partain of the Department of Computer and Information Science
at Linkoping University, Sweden added most of the administrative facil-
ities as a part of his Masters work at the University of Tennessee,
Knoxville. Dr. Jeffrey D. Case of SNMP Research supervised his work,
and Keith McCloghrie of Hughes LAN Systems provided implementation
guidance.
Major modifications to the code were made as part of the extensible
SNMP Agent for Digital UNIX. delim off
snmpi(8)