Bug 1362029

Summary: EWS 2.1.1 CR1: snmp module ignore conf setup
Product: [JBoss] JBoss Enterprise Web Server 2 Reporter: Jan Onderka <jonderka>
Component: httpdAssignee: Mladen Turk <mturk>
Status: CLOSED EOL QA Contact: Jan Onderka <jonderka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1.1CC: jdoyle, jonderka, mbabacek, pslavice, rsvoboda
Target Milestone: CR01   
Target Release: 2.1.1   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-13 07:59:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1188769    
Bug Blocks:    

Description Jan Onderka 2016-08-01 08:27:00 UTC
Description of problem:
Snmp does't start at defined port, It uses default instead.

How reproducible:
Start httpd with snmp modified configs

Steps to Reproduce:
1. snmpd.conf: agentaddress 1610 -> agentaddress 1618.0.1
2. snmpd.conf: com2sec local     localhost        public -> com2sec local     127.0.0.1        public

Actual results:
snmp starts with default setup

Expected results:
Snmp starts with setup defined at snmpd.conf

Additional info:
logs contains
[Mon Aug 01 01:15:04 2016] [notice] Advertise initialized for process 5444
[Mon Aug 01 01:15:04 2016] [notice] Apache/2.2.26 (Win64) DAV/2 mod_cluster/1.2.13.Final CovalentSNMP/2.3.0 mod_ssl/2.2.26 OpenSSL/1.0.2h configured -- resuming normal operations
[Mon Aug 01 01:15:04 2016] [notice] SNMP: generic logger: Could not log error-info\n
[Mon Aug 01 01:15:04 2016] [notice] Server built: Jul 21 2016 13:04:25
[Mon Aug 01 01:15:04 2016] [notice] SNMP: generic logger: Could not log error-info\n
[Mon Aug 01 01:15:04 2016] [notice] Parent: Created child process 4376
[Mon Aug 01 01:15:04 2016] [notice] SNMP: generic logger: Could not log error-info\n
[Mon Aug 01 01:15:04 2016] [debug] mpm_winnt.c(477): Parent: Sent the scoreboard to the child
[Mon Aug 01 01:15:04 2016] [notice] SNMP: generic logger: Could not log error-info\n
[Mon Aug 01 01:15:04 2016] [notice] SNMP: CovalentSNMP/2.3.0 started (address '161.0.0' - pid '5444')