1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta content="text/html; charset=ISO-8859-1"
5
http-equiv="content-type">
6
<title>Configuration Overview</title>
10
Start by reading the <span style="font-weight: bold;">snmp_config</span>
11
manual page that describes how the
12
Net-SNMP configuration files operate and
13
how they all work together. Note: When using Windows, all
14
configuration files should be placed in the (install
15
folder)\etc\snmp folder.<br>
17
<span style="font-weight: bold;">Note: The Net-SNMP configuration
18
files generally contain sensitive
19
information such as passphrases and community strings so permissions
20
should be set to restrict who can read the files.</span><br
21
style="font-weight: bold;">
23
A Perl script called snmpconf is included which can be used to
24
create configuration files. Full documentation on using snmpconf
25
is available in the 'Applications' section.<br>
27
To run snmpconf, use the following command line:<br>
29
<span style="font-family: monospace;">snmpconf -i<br>
31
The following environment variables are defined during installation:<br>
33
<li>SNMPCONFPATH=(install folder)/etc/snmp</li>
34
<li>SNMPSHAREPATH=(install folder)/share/snmp</li>
36
<div style="margin-left: 40px;"></div>
37
If Net-SNMP is installed in a folder other than the default <span
38
style="font-weight: bold;">c:\usr</span>, the above environment
39
variables must match, and the <span style="font-weight: bold;">snmp.conf</span>
40
file must contain a definition for <span style="font-weight: bold;">mibdirs</span>,
41
<span style="font-weight: bold;">persistentDir </span>and <span
42
style="font-weight: bold;">tempFilePattern</span>. For example,
43
if Net-SNMP was installed in <span style="font-weight: bold;">c:\net-snmp</span>:<br>
45
<div style="margin-left: 40px; font-family: monospace;">mibdirs
46
c:/net-snmp/share/snmp/mibs<br>
47
persistentDir c:/net-snmp/snmp/persist<br>
48
tempFilePattern c:/net-snmp/temp/snmpdXXXXXX<br>
51
<span style="font-weight: bold;">Note: All paths contained in
52
configuration files must use forward
53
slashes (Unix convention), NOT back