Description of problem: When importing an Apache httpd virtual host which has a ServerName value which is not resolvable back to an interface on the local machine, the hostname or IP of the local machine is used instead of the ServerName value. For an httpd instance with multiple virtual hosts with unresolvable ServerName values, this results in virtual host resources that are only identifiable by the port number in the resource name, or by manually inspecting each resource for the ServerName value recorded in the resource key. Version-Release number of selected component (if applicable): JON 3.0.1 How reproducible: Very Steps to Reproduce: 1. Add virtual host section to httpd.conf with unresolvable ServerName value: Listen 8080 <VirtualHost *:8080> ServerName myunresolvablehost:8080 </VirtualHost> 2. Start httpd instance 3. Run discovery in agent to pick up "myunresolvablehost" ('discovery -f' if httpd instance is already in inventory 4. Navigate to httpd's virtual host children 5. Identify the newly added virtual host resource Actual results: Resource name is the local machine's hostname or IP address in format "hostname:8080" Expected results: Resource name should be referencing the value of the ServerName directive of the virtual host configuration. For example, "myunresolvablehost:8080".
re-targeting for 4.10. See lkrejci's comments in Bug 837449.
Pushing to 4.11
Bump the target version now that 4.11 is out.
Fixed by BZ 837449