1 # ----------------------------------------------------------------------
2 # Template for SNMP Access Control List File
4 # o Copy this template to snmp.acl
5 # o Set access control for SNMP support
6 # o Change the permission of snmp.acl to be read-only
9 # See below for the location of snmp.acl file.
10 # ----------------------------------------------------------------------
12 ############################################################
13 # SNMP Access Control List File
14 ############################################################
16 # Default location of this file is $JRE/lib/management/snmp.acl.
17 # You can specify an alternate location by specifying a property in
18 # the management config file $JRE/lib/management/management.properties
19 # or by specifying a system property (See that file for details).
23 ##############################################################
24 # File permissions of the snmp.acl file
25 ##############################################################
27 # Since there are cleartext community strings stored in this file,
28 # this ACL file must be readable by ONLY the owner,
29 # otherwise the program will exit with an error.
31 ##############################################################
32 # Format of the acl group
33 ##############################################################
35 # communities: a list of SNMP community strings to which the
36 # access control applies separated by commas.
38 # access: either "read-only" or "read-write".
40 # managers: a list of hosts to be granted the access rights.
41 # Each can be expressed as any one of the following:
43 # - ip v4 and v6 addresses: 123.456.789.12 , fe80::a00:20ff:fe9b:ea82
44 # - ip v4 and v6 netmask prefix notation: 123.456.789.0/24,
45 # fe80::a00:20ff:fe9b:ea82/64
46 # see RFC 2373 (http://www.ietf.org/rfc/rfc2373.txt)
48 # An example of two community groups for multiple hosts:
51 # communities = public, private
53 # managers = hubble, snowbell, nanak
58 # managers = hubble, telescope
62 ##############################################################
63 # Format of the trap group
64 ##############################################################
66 # trap-community: a single SNMP community string that will be included
67 # in the traps sent to the hosts.
69 # hosts: a list of hosts to which the SNMP agent will send traps.
71 # An example of two trap community definitions for multiple hosts:
74 # trap-community = public
75 # hosts = hubble, snowbell
78 # trap-community = private
83 ############################################################
85 # Update the community strings (public and private) below
86 # before copying this template file
88 # Common SNMP ACL Example
89 # ------------------------
91 # o Only localhost can connect, and access rights
92 # are limited to read-only
93 # o Traps are sent to localhost only
98 # communities = public, private
100 # managers = localhost
107 # trap-community = public