comparison usr/src/cmd/agents/snmp/snmprelayd/snmpdx.acl @ 0:c9caec207d52 b86

Initial porting based on b86
author Koji Uno <koji.uno@sun.com>
date Tue, 02 Jun 2009 18:56:50 +0900
parents
children 1a15d5aaf794
comparison
equal deleted inserted replaced
-1:000000000000 0:c9caec207d52
1 #
2 # CDDL HEADER START
3 #
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License, Version 1.0 only
6 # (the "License"). You may not use this file except in compliance
7 # with the License.
8 #
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
13 #
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 #
20 # CDDL HEADER END
21 #
22 # Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
23 # Use is subject to license terms.
24 #
25 # ident "@(#)snmpdx.acl 1.7 05/06/12 SMI"
26 #
27
28 #
29 # Configuration file of an SNMP agent
30 #
31
32
33 ##################
34 # access control #
35 ##################
36
37 # The list of community names needed for read/write access
38 # to the entire MIB.
39 # If the list is empty, the only valid community name is "public"
40 # and its access type is read-only
41
42 acl = {
43 {
44 communities = public, private
45 access = read-write
46 managers = *
47 }
48
49 }
50
51
52 #communities = {
53 #public read-write
54 # private read-write
55 #}
56
57 # The list of hosts that can send SNMP queries.
58 # If this list is empty, all the hosts are allowed to
59 # send SNMP queries.
60
61 #managers = {
62 #}
63
64
65 ###################
66 # trap parameters #
67 ###################
68
69 trap = {
70 # {
71 # trap-community = SNMP-trap
72 # hosts = hubble, snowbell
73 # {
74 # enterprise = "sun"
75 # trap-num = 0, 1, 2-5, 6-16
76 # }
77 # {
78 # enterprise = "3Com"
79 # trap-num = 4
80 # }
81 # {
82 # enterprise = "snmp"
83 # trap-num = 0, 2, 5
84 # }
85 # }
86 # {
87 # trap-community = jerry-trap
88 # hosts = jerry, nanak, hubble
89 # {
90 # enterprise = "sun"
91 # trap-num = 1, 3
92 # }
93 # {
94 # enterprise = "snmp"
95 # trap-num = 1-3
96 # }
97 # }
98 }
99
100 # The community name to be used in traps.
101
102 #trap-community = SNMP-trap
103
104 # The list of hosts where traps should be sent.
105
106 #trap-recipients =
107 #{
108 #hubble
109 #}
110