~ubuntu-branches/ubuntu/edgy/net-snmp/edgy-updates

« back to all changes in this revision

Viewing changes to win32/dist/htmlhelp/Configuration_Overview.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-03-31 04:21:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050331042137-z0vw1grslj6cek9k
Tags: 5.1.2-6ubuntu2
Apply safe-but-hackish patch by Henrique de Moraes Holschuh to
fix the libdir in libsnmp5-dev's .la files (Ubuntu bug #8393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
  <meta content="text/html; charset=ISO-8859-1"
 
5
 http-equiv="content-type">
 
6
  <title>Configuration Overview</title>
 
7
</head>
 
8
<body>
 
9
<h1>Overview</h1>
 
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.&nbsp; Note:&nbsp; When using Windows, all
 
14
configuration files should be placed in the (install
 
15
folder)\etc\snmp folder.<br>
 
16
<br>
 
17
<span style="font-weight: bold;">Note:&nbsp; 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;">
 
22
<br>
 
23
A Perl script called snmpconf is included which can be used to
 
24
create configuration files.&nbsp; Full documentation on using snmpconf
 
25
is available in the 'Applications' section.<br>
 
26
<br>
 
27
To run snmpconf, use the following command line:<br>
 
28
<br>
 
29
<span style="font-family: monospace;">snmpconf -i<br>
 
30
</span><br>
 
31
The following environment variables are defined during installation:<br>
 
32
<ul>
 
33
  <li>SNMPCONFPATH=(install folder)/etc/snmp</li>
 
34
  <li>SNMPSHAREPATH=(install folder)/share/snmp</li>
 
35
</ul>
 
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>.&nbsp; For example,
 
43
if Net-SNMP was installed in <span style="font-weight: bold;">c:\net-snmp</span>:<br>
 
44
<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>
 
49
</div>
 
50
<br>
 
51
<span style="font-weight: bold;">Note: All paths contained in
 
52
configuration files must use forward
 
53
slashes (Unix convention), NOT back
 
54
slashes.</span><br>
 
55
<br>
 
56
</body>
 
57
</html>