The Webserver is visible in the Investigator but only the availability and info branches are visible when using the Webserver PowerPack to monitor Apache Web Server. There is no performance branch.
There are a couple of possible causes for this issue, and corrective action will depend on the type of error reported.
First, check the agent log file to verify that it is attempting to obtain performance data. The log will contain an error similar to the following:
Next, check the webserver logs to see if any error is reported in the request to access the page identified above.
If the following type of error is seen:
it can indicate that the page has not been enabled in the httpd.conf file.
To resolve this, ensure that the following entry exists and is not commented out:
If the following type of error is reported:
it can indicate that the httpd.conf file has not been configured to grant permission to access this page from the address of the webserver agent.
To resolve the problem, the page must be included in the Allow from list as shown:
<Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from .mydomain.com Allow from 18.104.22.168 </Location>
To get more information about the nature of the problem enable DEBUG logging in the webserver agent by setting:
in the file WebServerAgent.profile
This example of DEBUG logging reveals an underlying HTTP 403 error (permission denied) which matches the second scenario. An underlying HTTP 404 error (not found) would point to the first scenario.