420 remove patch (sparse package) support from svr4 pkg
[illumos-gate.git] / usr / src / cmd / agents / snmp / snmprelayd / conf / snmprelayd.template
blobaa8ef1a264a010dd3fa420e217274842cdc21ae1
2 # CDDL HEADER START
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.
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]
20 # CDDL HEADER END
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
30 #       
32 # IMPORTANT:
33 # ----------
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)
42 ##########
43 # macros # 
44 ##########
46 # The following 3 macros are predefined:
48 #       mib-2 =         1.3.6.1.2.1
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.
56 macros = {
57         application =           mib-2.27
58         mta =                   mib-2.28
59         dsa =                   mib-2.28
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.
71 ##########
72 # agent #
73 ##########
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
82 #                       a coma.
84 #       - port:         the UDP port number on which you will start
85 #                       your agent
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
92 agents =
94         {
95                 name = "myagent"
96                 subtrees = { my-subtree1, my-subtree2 }
97                 timeout = 4000000
98                 port = p
99         }
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
105 # number above 1024.