Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 917119 Details for
Bug 1114988
Can not start httpd on Solaris and Windows
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
snmpd.conf
snmpd.conf (text/plain), 5.73 KB, created by
Libor Fuka
on 2014-07-10 14:44:12 UTC
(
hide
)
Description:
snmpd.conf
Filename:
MIME Type:
Creator:
Libor Fuka
Created:
2014-07-10 14:44:12 UTC
Size:
5.73 KB
patch
obsolete
>############################################################################### ># ># Apache SNMP configuration file. ># ># This file is used to configure the Apache SNMP agent. ># ># All lines beginning with a '#' are comments and are intended for you ># to read. All other lines are configuration commands for the agent. ># ># For more information, please refer to the snmpd.conf entry in the ># in the command reference section of the manual. ># >############################################################################### ># Network Setup >############################################################################### ># agentaddress ># ># SYNTAX: ># agentaddress [(udp|tcp):]port[@address][,...] ># DESCRIPTION: ># This directive specifies the port(s) and optional address the SNMP agent ># will listen on. Multiple ports can be separated by commas. Transports can ># be specified by prepending the port number with the transport name ("udp" ># or "tcp") followed by a colon. To bind to a particular interface, you can ># specify the address (@address) you want it to bind with. ># EXAMPLE: ># agentaddress 8161,tcp:8161,9161@localhost ># Directs the agent to listen on udp port 8161 for any address, tcp port ># 8161 for any address, and udp port 9161 on only the interface associated ># with the localhost address. ># DEFAULT: ># agentaddress 161 > >agentaddress 1610 > >############################################################################### ># View-based Access Control >############################################################################### ># This section explains on how to configure the View Based Access Control. ># ># If you want SNMPv1 and/or SNMPv2c access, you need to map ># the community name into a security name. ># SYNTAX: ># com2sec <SECNAME> <NETWORK> <COMMUNITY> ># <SECNAME> is used as user within the SNMP agent. ># <NETWORK> is used to defined from which hosts or networks ># the SNMP agent can be accessed by using the associated ># community string. ># <COMMUNITY> is the community string as used in SNMPv1 and SNMPv2c ># for authentication. > >com2sec local localhost public >#@@ENABLESNMPV12@@com2sec mynetwork @@SNMPNETWORK@@ public > >#### ># You need to map the <SECNAME>'s into one or multiple groups ># and associate a security model to it. ># SYNTAX: ># group <GROUPNAME> <SECMODEL> <SECNAME> ># <GROUPNAME> is the identification of the group. ># <SECMODEL> is the security model used. The agent ># uses: 'v1', 'v2c', 'usm' or 'any' ># <SECNAME> is the name via which SNMPv1 and SNMPv2c ># have access or the 'username' of SNMPv3 > >group MyRWGroup v1 local >group MyRWGroup v2c local >#@@ENABLESNMPV12@@group MyROGroup v1 mynetwork >#@@ENABLESNMPV12@@group MyROGroup v2c mynetwork > >#### ># You need to create a view of the MIB that can either be a ># complete or partial view. ># SYNTAX: ># view <VIEWNAME> <TYPE> <SUBTREE> <MASK> ># <VIEWNAME> identification for a MIB view. ># <TYPE> is either 'included' or 'excluded' and perform ># the associated action on the <SUBTREE> ># <SUBTREE> the MIB subtree to which the view applies. ># <MASK> is on the places in the OID-string for the accessed objects that ># must be match to included in this view. > >view all included .1 80 > >#### ># Grant each group access and define its permissions. ># SYNTAX: ># access <GROUPNAME> <CONTEXT> <SECMODEL> <SECLEVEL> <MATCH> <READ> <WRITE> <NOTIFY> ># <GROUPNAME> the group identification as defined with 'group'. ># <CONTEXT> the context in which access is granted. Default "" ># <SECMODEL> the security model required to be used for access ># The agent uses: 'v1', 'v2c', 'usm' or 'any' ># <SECLEVEL> The security level used for access to the MIB. The agent ># uses: 'noauth', 'auth' or 'priv' ># <MATCH> specifies how CONTEXT should be matched against the ># context of the incoming pdu, either exact or prefix. ># <READ> specificies the view for corresponding access. ># <WRITE> specificies the view for corresponding access. ># <NOTIFY> specificies the view for corresponding access. >access MyROGroup "" any noauth exact all none none >access MyRWGroup "" any noauth exact all all none > >############################################################################### ># User-based Security >############################################################################### ># For SNMPv3 you need to create users. However, after starting and stopping ># you would like to delete the 'createuser' line. The SNMP agent will store ># this information encrypted, in a persistent configuration file. ># ># We first want to create or map the SNMPv3 user into a group and provide ># access with the above view-based access control. ># Forinstance, group MyRWGroup usm engineering > >#group MyRWGroup usm @@SNMPV3USERNAME@@ > ># For SNMPv3 (User-based Security) we need create a user. ># SYNTAX: ># createUser <USERNAME> <MD5/SHA> <MD5PASSPHRASE> [DES] <PASSPHRASE> ># <USERNAME> the SNMPv3 user name. Maps in to view-based access ># control on the <SECNAME> ># <MD5/SHA> type of authentication ># <MD5PASSPHRASE> the MD5 or SHA passphrase. ># <DES> the privacy protocol ># <DESPASSPHRASE> the privacy passphrase. ># Your passphrases must be at least 8 characters long! > >#createUser @@SNMPV3USERNAME@@ MD5 @@SNMPV3PASSWORD@@ DES > ># NOTE: If you have used the installer that was provided with ># You probably have already created the user '@@SNMPV3USERNAME@@'. ># This was done if you were asked for an SNMPv3 password. >############################################################################### ># System group information ># ># One can define some values to be returned for the system group. ># 'sysLocation' where the system is located. ># SYNTAX: ># syslocation <STRING> ># 'sysContact' for this system. ># SYNTAX: ># syscontact <STRING> > >syscontact Webmaster <webmaster@your.domain> >syslocation Apache Server
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1114988
:
917118
| 917119