[packages] net-snmp: Refresh patches
[openwrt/svn-archive/archive.git] / libs / net-snmp / patches / 140-debian-docfiles.patch
1 --- a/FAQ
2 +++ b/FAQ
3 @@ -99,7 +99,7 @@ TABLE OF CONTENTS
4 I don't understand the new access control stuff - what does it mean?
5 How do I configure SNMPv3 users?
6 The 'createUser' line disappears when I start the agent. Why?
7 - What's the difference between /var/net-snmp and /usr/local/share/snmp?
8 + What's the difference between /var/lib/snmp and /usr/share/snmp?
9 My new agent is ignoring the old snmpd.conf file. Why?
10 Why am I getting "Connection refused"?
11 Why can't I see values in the UCDavis 'extensible' or 'disk' trees?
12 @@ -643,7 +643,7 @@ How do I add a MIB to the tools?
13 There are two steps required to add a new MIB file to the tools.
14 Firstly, copy the MIB file into the appropiate location:
15
16 - cp MY-MIB.txt /usr/local/share/snmp/mibs
17 + cp MY-MIB.txt /usr/share/snmp/mibs
18 (which makes it available to everyone on the system)
19
20 or
21 @@ -1177,7 +1177,7 @@ My traphandler script doesn't work when
22 If this is the case, then you can specify this interpreter
23 explicitly as part of the trap handle directive:
24
25 - traphandle default /usr/bin/perl /usr/local/bin/log_it
26 + traphandle default /usr/bin/perl /usr/bin/log_it
27
28 In this case, it's almost certain that you'll also
29 need to give the full path to the traphandle script (as shown)
30 @@ -1251,7 +1251,7 @@ OK, what should I put in snmp.conf?
31 string to use.
32
33 Some of these (such as the MIB file location), might be best put in
34 - a shared snmp.conf file (typically /usr/local/share/snmp/snmp.conf or
35 + a shared snmp.conf file (typically /usr/share/snmp/snmp.conf or
36 /etc/snmp/snmp.conf) to apply to all users of the system. Others
37 (particularly the SNMPv3 security settings), are more likely to refer
38 to a particular user, and should go in a personal snmp.conf file
39 @@ -1476,7 +1476,7 @@ Why aren't my mib files being read in?
40
41
42 Alternatively, the tools may be looking in the wrong place.
43 - The default location for the mib files is /usr/local/share/snmp/mibs.
44 + The default location for the mib files is /usr/share/snmp/mibs.
45 Again, this is set when the suite is first configured and compiled.
46 This can be changed using the environmental variable 'MIBDIRS'
47 or the snmp.conf directive 'mibdirs'.
48 @@ -2430,7 +2430,7 @@ How do I configure SNMPv3 users?
49
50 There are three ways to configure SNMPv3 users:
51
52 - 1) Stop the agent, and create a file /var/net-snmp/snmpd.conf,
53 + 1) Stop the agent, and create a file /var/lib/snmp/snmpd.conf,
54 containing the line
55
56 createUser {myUser} MD5 {myPassword} DES
57 @@ -2443,7 +2443,7 @@ How do I configure SNMPv3 users?
58 net-snmp-config --create-snmpv3-user
59
60 and follow the instructions. This will create an entry
61 - in the /var/net-snmp/snmpd.conf file similar to the above.
62 + in the /var/lib/snmp/snmpd.conf file similar to the above.
63 Then re-start the snmpd agent.
64
65 3) Make sure the agent is running, and will respond to a suitable
66 @@ -2476,16 +2476,16 @@ The 'createUser' line disappears when I
67
68
69
70 -What's the difference between /var/net-snmp and /usr/local/share/snmp?
71 ----------------------------------------------------------------------
72 +What's the difference between /var/lib/snmp and /usr/share/snmp?
73 +----------------------------------------------------------------
74
75 - The /var/net-snmp location is primarily used for information set
76 + The /var/lib/snmp location is primarily used for information set
77 during the running of the agent, which needs to be persistent between
78 one run of the agent and the next. Apart from "createUser" (see
79 the previous entry), you shouldn't need to touch this file.
80
81 All other user-provided configuration should go in the traditional
82 - location (typically /usr/local/share/snmp/snmpd.conf or /etc/snmp).
83 + location (typically /usr/share/snmp or /etc/snmp).
84
85
86
87 @@ -2498,7 +2498,7 @@ My new agent is ignoring the old snmpd.c
88 distribution), with the current release installed from the source.
89
90 The default location for this file with the basic distribution is
91 - /usr/local/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf).
92 + /usr/share/snmp/snmpd.conf (or PREFIX/share/snmp/snmpd.conf).
93 Ready-installed versions often look for the file as /etc/snmpd.conf,
94 or /etc/snmp/snmpd.conf. Try moving the old config file to the new
95 location, and restart the agent.