Bug 535786 (RHQ-2446)
Summary: | autodiscover SNMP address and port by parsing snmpd.conf when discovering Apache servers | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> | ||||
Component: | Plugins | Assignee: | Lukas Krejci <lkrejci> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 4.0.0 | CC: | ccrouch, lkrejci, mfoley, skondkar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
URL: | http://jira.rhq-project.org/browse/RHQ-2446 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-09-03 16:58:02 UTC | Type: | --- | ||||
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: | |||||||
Bug Blocks: | 577313 | ||||||
Attachments: |
|
Description
Ian Springer
2009-10-01 18:47:00 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2446 Deon, we should doc this as a known issue. Just to check, the issue is that the discovery process does *not* get the address and port from the .conf file? Correct, the discovery always just sets the SNMP host property to "127.0.0.1" and the port property to "1610". If these are not the correct values, it's up to the user to update the connection properties via the Apache resource's Inventory>Connection tab in the GUI. This is in the known issues: http://www.redhat.com/docs/en-US/JBoss_ON/2.4/Release_Notes/html-single/#inventory-issues This has been implemented in master by commit 9bf39010bcf60ad0cd52876be3f1255329cf656e Verifying that I am seeing the SNMP host property set to 127.0.0.1 and the port to 1610 for my Apache servers. 127.0.0.1 and 1610 are default values. Please re-test this by changing the configuration in snmpd.conf to some non-standard values and running the discovery. The discovered values should of course correspond to the ones in the config file, not the default. adding information on Apache SNMP installation and configuration .... for my own reference. http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/2.4/html/Resource_Monitoring_and_Operations_Reference/Managed_Servers.html#Apache_SNMP_Configuration ...specifically step #8 on changing port Verified on build#140 (Version: 4.1.0-SNAPSHOT Build Number: 5905b70) Modified the file /etc/httpd/conf/snmpd.conf with below line: agentaddress 8161.193.104 Discovered apache resource. Navigated to the Inventory->Connection Settings tab of the apache resource and verified that the field 'SNMP Agent Host' displays value '10.65.193.104' and the field 'SNMP Agent Port' displays the value '8161'. Please refer the attached screenshot. Marking as verified. Created attachment 505203 [details]
Screenshot
Bulk closing of old issues that are in VERIFIED state. |