1 .TH SNMPGET 1 "01 Dec 2000"
4 snmpconf - creates and modifies snmp configuration files
6 snmpconf [options] [fileToCreate]
8 snmpconf -g basic_setup
12 snmpconf is a simple perl script that walks you through setting up a
13 configuration file step by step. It should be fairly straight forward
14 to use. Merely run it and answer its questions.
16 In its default mode of operation, it prompts the user with menus
17 showing sections of the various configuration files it knows about.
18 When the user selects a section, a sub-menu is shown listing of the
19 descriptions of the tokens that can be created in that section. When
20 a description is selected, the user is prompted with questions that
21 construct the configuration line in question.
23 Finally, when the user quits the program any configuration files that
24 have been edited by the user are saved to the local directory, fully
27 A particularly useful option is the -g switch, which walks a user
28 through a specific set of configuration questions. Run
29 .B "snmpconf -g basic_setup"
33 Force overwriting existing files in the current directory without
34 prompting the user if this is a desired thing to do.
36 When finished, install the files into the location where the global
37 system commands expect to find them.
39 When finished, install the files into the users home directory's .snmp
40 subdirectory (where the applications will also search for
43 When finished, install the files into the directory DIRECTORY.
45 Don't ask any questions. Simply read in the various known
46 configuration files and write them back out again. This has the
47 effect of "auto-commenting" the configuration files for you. See
52 Read in either all or none of the found configuration files. Normally
53 snmpconf prompts you for which files you wish to read in. Reading in
54 these configuration files will merge these files with the results of
55 the questions that it asks of you.
57 Read in a specific list of configuration files.
59 Groups of configuration entries can be created that can be used to
60 walk a user through a series of questions to create an initial
61 configuration file. There are no menus to navigate, just a list of
63 .B "snmpconf -g basic_setup"
66 List all the known groups
68 snmpconf uses a directory of configuration information to learn about
69 the files and questions that it should be asking. This option tells
70 snmpconf to use a different location for configuring itself.
72 Run slightly more quietly. Since this is an interactive program, I
73 don't recommend this option since it only removes information from the
74 output that is designed to help you.
76 Turn on *lots* of debugging output.
78 Add even more debugging output in the form of perl variable dumps.
81 .IP "snmpconf -g basic_setup"
82 Have I mentioned this command enough yet? It's designed to walk
83 someone through an initial setup for the snmpd demon. Really, you
85 .IP "snmpconf -R /usr/local/snmp/snmpd.conf -a -f snmpd.conf"
86 Automatically reads in a snmpd.conf file (for example) and adds
87 comments to them describing what each token does. Try it. It's cool.
89 snmpconf is actually a very generic utility that could be easily
90 configured to help construct just about any kind of configuration
91 file. Its default configuration set of files are snmp based.