components/net-snmp/sun/snmpd.conf
changeset 252 ee0fb1eabcbf
equal deleted inserted replaced
251:f527656d334f 252:ee0fb1eabcbf
       
     1 #
       
     2 #
       
     3 # CDDL HEADER START
       
     4 #
       
     5 # The contents of this file are subject to the terms of the
       
     6 # Common Development and Distribution License (the "License").
       
     7 # You may not use this file except in compliance 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 (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
       
    23 #
       
    24 # This distribution may include materials developed by third parties. Sun,
       
    25 # Sun Microsystems, the Sun logo and Solaris are trademarks or registered
       
    26 #  trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
       
    27 #
       
    28 #
       
    29 ###########################################################################
       
    30 #
       
    31 # snmpd.conf
       
    32 #
       
    33 #   - created by the snmpconf configuration program
       
    34 #
       
    35 ###########################################################################
       
    36 ###########################################################################
       
    37 # SECTION: Admins who want to disable the snmpd daemon from
       
    38 # starting at boot time.
       
    39 # Change DISABLE=NO to DISABLE=YES
       
    40 # DO NOT DELETE
       
    41 # DO NOT UNCOMMENT
       
    42 #DISABLE=NO
       
    43 #
       
    44 # end ADMIN
       
    45 ###########################################################################
       
    46 #
       
    47 # SECTION: Access Control Setup
       
    48 #
       
    49 #   This section defines who is allowed to talk to your running
       
    50 #   snmp agent.
       
    51 
       
    52 # rocommunity: a SNMPv1/SNMPv2c read-only access community name
       
    53 #   arguments:  community [default|hostname|network/bits] [oid]
       
    54 
       
    55 rocommunity  public  
       
    56 
       
    57 ##########################################################################
       
    58 # SEA subagents dynamically register with the master agent via port 161,
       
    59 # supplying a read-write community string on the request (e.g. 'private'
       
    60 # for DMI).  If the community strings used are not defined in the
       
    61 # snmpd.conf file, the registration request will not be forwarded to
       
    62 # the SEA master agent.
       
    63 #
       
    64 # rwcommunity: a SNMPv1/SNMPv2c read-write access community name
       
    65 #   arguments:  community [default|hostname|network/bits] [oid]
       
    66 #
       
    67 # The following entry provides minimum access for successful
       
    68 # SEA subagent registration.
       
    69 #
       
    70 #rwcommunity  private localhost .1.3.6.1.4.1.42.2.15
       
    71 
       
    72 #rwcommunity private
       
    73 
       
    74 
       
    75 ###########################################################################
       
    76 # SECTION: System Information Setup
       
    77 #
       
    78 #   This section defines some of the information reported in
       
    79 #   the "system" mib group in the mibII tree.
       
    80 
       
    81 # syslocation: The [typically physical] location of the system.
       
    82 #   Note that setting this value here means that when trying to
       
    83 #   perform an snmp SET operation to the sysLocation.0 variable will make
       
    84 #   the agent return the "notWritable" error code.  IE, including
       
    85 #   this token in the snmpd.conf file will disable write access to
       
    86 #   the variable.
       
    87 #   arguments:  location_string
       
    88 
       
    89 syslocation  "System administrators office"
       
    90 
       
    91 # syscontact: The contact information for the administrator
       
    92 #   Note that setting this value here means that when trying to
       
    93 #   perform an snmp SET operation to the sysContact.0 variable will make
       
    94 #   the agent return the "notWritable" error code.  IE, including
       
    95 #   this token in the snmpd.conf file will disable write access to
       
    96 #   the variable.
       
    97 #   arguments:  contact_string
       
    98 
       
    99 syscontact  "System administrator"
       
   100 sysservices 72
       
   101 
       
   102 #
       
   103 # dlmods entries
       
   104 # for 32bit agent
       
   105 #
       
   106 #dlmod seaExtensions /usr/lib/libseaExtensions.so
       
   107 #
       
   108 # for 64bit agent
       
   109 #dlmod seaExtensions /usr/lib/amd64/libseaExtensions.so
       
   110 #dlmod seaExtensions /usr/lib/sparcv9/libseaExtensions.so
       
   111 
       
   112 #master agentx
       
   113