PMDAAPACHE(1) | General Commands Manual | PMDAAPACHE(1) |
pmdaapache - Apache2 web server performance metrics domain agent (PMDA)
$PCP_PMDAS_DIR/apache/pmdaapache [-d domain] [-l logfile] [-U username] [-S server] [-P port] [-L location]
pmdaapache is a Performance Metrics Domain Agent (PMDA) which extracts performance metrics describing the state of an Apache web server.
The apache PMDA exports metrics that measure the request rate, cumulative request sizes, uptime and various connection states for active clients.
This information is obtained by performing a HTTP request to the server status URL, which must be enabled in the httpd.conf configuration file.
ExtendedStatus on <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from localhost </Location>
A brief description of the pmdaapache command line options follows:
If you want access to the names, help text and values for the apache performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/apache # ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/apache # ./Remove
pmdaapache is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed.
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5).
PCPIntro(1), httpd(8), pmcd(1), pcp.conf(5) and pcp.env(5).
PCP | Performance Co-Pilot |