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
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.
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]
22 # Copyright 1996 Sun Microsystems, Inc. All Rights Reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I% %E% SMI"
29 # A configuration file template for the SNMP Relay
34 # So that the SNMP Relay will take into account
35 # your configuration file, you must:
36 # - rename this file with the ".snmprelay" extension
37 # (for example: myagent.snmprelay)
38 # - check that this file is located in the configuration directory
39 # for the SNMP Relay (by default: /opt/SUNWconn/snmprelay)
46 # The following 3 macros are predefined:
49 # enterprise = 1.3.6.1.4.1
50 # sun = 1.3.6.1.4.1.42
52 # Your can define your own macros, so that you can
53 # manipulate strings instead of OIDs in defining the agent.
54 # See the "agent" section below.
57 application = mib-2.27
61 my-enterprise = enterprise.n
63 my-subtree1 = my-enterprise.1
64 my-subtree2 = my-enterprise.2
67 # in enterprise.n, n is the number assigned to your company
68 # by the Internet Assigned Numbers Authority.
75 # You must fill in at least the following fields:
77 # - name: the name of your agent (for example, the executable
78 # file name of your agent)
80 # - subtrees: the list of OIDs / subtrees of OIDs your agent
81 # supports. The listed items must be separated by
84 # - port: the UDP port number on which you will start
87 # You can also change the following fields:
89 # - timeout: the number of micro-seconds the SNMP Relay will
90 # wait for a reponse from your agent
96 subtrees = { my-subtree1, my-subtree2 }
102 # In port = p, replace p by any unused port number above 1024.
103 # You can use the command get_free_udp_port (default location
104 # /opt/SUNWconn/mhs/bin) to find out the first unused udp port