The Webserver and the availability/info branches are shown in the Investigator but not the performance branch.

Document ID:  TEC606016
Last Modified Date:  08/02/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Application Performance Management

Releases

  • CA Application Performance Management:Release:9.1 SP2
  • CA Application Performance Management:Release:9.1.0
  • CA Application Performance Management:Release:9.1.1
  • CA Application Performance Management:Release:10.5
  • CA Application Performance Management:Release:10.3
  • CA Application Performance Management:Release:10.2
  • CA Application Performance Management:Release:10.0
  • CA Application Performance Management:Release:10.1
  • CA Application Performance Management:Release:CA APM 9.6
  • CA Application Performance Management:Release:CA APM 9.7

Components

  • APM POWER PACKS:APMPPK
Symptoms:

 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.

Environment:
Webserver PowerPack for Apache from 9.7 onward.
Cause:

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:

  • [ERROR] [WebServerMonitor] Could not get performance metrics from server : https://1.1.1.1:443/server-status?auto

Next, check the webserver logs to see if any error is reported in the request to access the page identified above.

Workaround:

 Scenario 1:

 If the following type of error is seen:

  • [error] [client 1.1.1.2] File does not exist: /opt/mywebserver/data/server-status

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:

  • LoadModule status_module modules/mod_status.so

 Scenario 2:

 If the following type of error is reported:

  • [error] [client 1.1.1.2] client denied by server configuration: /data/mywebserver/data/server-status

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 1.1.1.2
 </Location>

 

 To get more information about the nature of the problem enable DEBUG logging in the webserver agent by setting:

log4j.logger.WebServerMonitor=DEBUG, logfile

in the file WebServerAgent.profile

  • [ERROR] [WebServerMonitor] Could not get performance metrics from server : https://1.1.1.1:443/server-status?auto
  • [DEBUG] [WebServerMonitor] 403 is the Status for : https://1.1.1.1:443/server-status?auto

 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.

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >