1 .TH SNMPCONF
1 "08 Feb 2002" VVERSIONINFO
"Net-SNMP"
4 snmpconf
- creates and modifies SNMP configuration files
7 [OPTIONS
] [fileToCreate
]
15 is a simple Perl script that walks you through setting up a
16 configuration file step by step. It should be fairly straight forward
17 to use. Merely run it and answer its questions.
19 In its default mode of operation
, it prompts the user with menus
20 showing sections of the various configuration files it knows about.
21 When the user selects a section
, a sub
-menu is shown listing of the
22 descriptions of the tokens that can be created in that section. When
23 a description is selected
, the user is prompted with questions that
24 construct the configuration line in question.
26 Finally
, when the user quits the program any configuration files that
27 have been edited by the user are saved to the local directory
, fully
30 A particularly useful option is the
32 switch
, which walks a user through a specific set of configuration
36 snmpconf
-g basic_setup
43 Force overwriting existing files in the current directory without
44 prompting the user if this is a desired thing to do.
47 When finished
, install the files into the location where the global
48 system commands expect to find them.
51 When finished
, install the files into the users home directory
's .snmp
52 subdirectory (where the applications will also search for
56 When finished, install the files into the directory
60 Don't ask any questions. Simply read in the various known
61 configuration files and write them back out again. This has the
62 effect of
"auto-commenting" the configuration files for you. See
68 Read in either all or none of the found configuration files. Normally
70 prompts you for which files you wish to read in. Reading in
71 these configuration files will merge these files with the results of
72 the questions that it asks of you.
75 Read in a specific list of configuration files.
78 Groups of configuration entries can be created that can be used to
79 walk a user through a series of questions to create an initial
80 configuration file. There are no menus to navigate
, just a list of
85 snmpconf
-g basic_setup
92 List all the known groups.
96 uses a directory of configuration information to learn about
97 the files and questions that it should be asking. This option tells
99 to use a different location for configuring itself.
102 Run slightly more quietly. Since this is an interactive program
, I
103 don
't recommend this option since it only removes information from the
104 output that is designed to help you.
114 debugging output in the form of Perl variable dumps.
117 .IP "snmpconf -g basic_setup"
118 Have I mentioned this command enough yet? It's designed to walk
119 someone through an initial setup for the
121 daemon. Really
, you should try it.
122 .IP
"snmpconf -R /usr/local/snmp/snmpd.conf -a -f snmpd.conf"
123 Automatically reads in an snmpd.conf
file (for example
) and adds
124 comments to them describing what each token does. Try it. It
's cool.
127 is actually a very generic utility that could be easily
128 configured to help construct just about any kind of configuration
129 file. Its default configuration set of files are SNMP based.
131 snmpd(8), snmp_config(5), snmp.conf(5), snmpd.conf(5)