components/net-snmp/sun/snmpd.conf
changeset 252 ee0fb1eabcbf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/net-snmp/sun/snmpd.conf	Fri May 20 12:17:45 2011 +0530
@@ -0,0 +1,113 @@
+#
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
+#
+# This distribution may include materials developed by third parties. Sun,
+# Sun Microsystems, the Sun logo and Solaris are trademarks or registered
+#  trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
+#
+#
+###########################################################################
+#
+# snmpd.conf
+#
+#   - created by the snmpconf configuration program
+#
+###########################################################################
+###########################################################################
+# SECTION: Admins who want to disable the snmpd daemon from
+# starting at boot time.
+# Change DISABLE=NO to DISABLE=YES
+# DO NOT DELETE
+# DO NOT UNCOMMENT
+#DISABLE=NO
+#
+# end ADMIN
+###########################################################################
+#
+# SECTION: Access Control Setup
+#
+#   This section defines who is allowed to talk to your running
+#   snmp agent.
+
+# rocommunity: a SNMPv1/SNMPv2c read-only access community name
+#   arguments:  community [default|hostname|network/bits] [oid]
+
+rocommunity  public  
+
+##########################################################################
+# SEA subagents dynamically register with the master agent via port 161,
+# supplying a read-write community string on the request (e.g. 'private'
+# for DMI).  If the community strings used are not defined in the
+# snmpd.conf file, the registration request will not be forwarded to
+# the SEA master agent.
+#
+# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
+#   arguments:  community [default|hostname|network/bits] [oid]
+#
+# The following entry provides minimum access for successful
+# SEA subagent registration.
+#
+#rwcommunity  private localhost .1.3.6.1.4.1.42.2.15
+
+#rwcommunity private
+
+
+###########################################################################
+# SECTION: System Information Setup
+#
+#   This section defines some of the information reported in
+#   the "system" mib group in the mibII tree.
+
+# syslocation: The [typically physical] location of the system.
+#   Note that setting this value here means that when trying to
+#   perform an snmp SET operation to the sysLocation.0 variable will make
+#   the agent return the "notWritable" error code.  IE, including
+#   this token in the snmpd.conf file will disable write access to
+#   the variable.
+#   arguments:  location_string
+
+syslocation  "System administrators office"
+
+# syscontact: The contact information for the administrator
+#   Note that setting this value here means that when trying to
+#   perform an snmp SET operation to the sysContact.0 variable will make
+#   the agent return the "notWritable" error code.  IE, including
+#   this token in the snmpd.conf file will disable write access to
+#   the variable.
+#   arguments:  contact_string
+
+syscontact  "System administrator"
+sysservices 72
+
+#
+# dlmods entries
+# for 32bit agent
+#
+#dlmod seaExtensions /usr/lib/libseaExtensions.so
+#
+# for 64bit agent
+#dlmod seaExtensions /usr/lib/amd64/libseaExtensions.so
+#dlmod seaExtensions /usr/lib/sparcv9/libseaExtensions.so
+
+#master agentx
+