2015-11-13 19:51:37 +00:00
|
|
|
# Telegraf plugin: Apache
|
|
|
|
|
|
|
|
#### Plugin arguments:
|
2016-05-27 15:12:36 +00:00
|
|
|
- **urls** []string: List of apache-status URLs to collect from. Default is "http://localhost/server-status?auto".
|
2016-11-15 15:52:24 +00:00
|
|
|
- **username** string: Username for HTTP basic authentication
|
|
|
|
- **password** string: Password for HTTP basic authentication
|
2017-02-16 19:03:17 +00:00
|
|
|
- **timeout** duration: time that the HTTP connection will remain waiting for response. Default 4 seconds ("4s")
|
2016-11-15 15:52:24 +00:00
|
|
|
|
|
|
|
##### Optional SSL Config
|
|
|
|
|
|
|
|
- **ssl_ca** string: the full path for the SSL CA certicate
|
|
|
|
- **ssl_cert** string: the full path for the SSL certificate
|
|
|
|
- **ssl_key** string: the full path for the key file
|
|
|
|
- **insecure_skip_verify** bool: if true HTTP client will skip all SSL verifications related to peer and host. Default to false
|
2015-11-13 19:51:37 +00:00
|
|
|
|
|
|
|
#### Description
|
|
|
|
|
|
|
|
The Apache plugin collects from the /server-status?auto URL. See
|
|
|
|
[apache.org/server-status?auto](http://www.apache.org/server-status?auto) for an
|
|
|
|
example. And
|
|
|
|
[here](http://httpd.apache.org/docs/2.2/mod/mod_status.html) for the apache
|
|
|
|
mod_status documentation.
|
|
|
|
|
|
|
|
# Measurements:
|
|
|
|
|
|
|
|
Meta:
|
|
|
|
- tags: `port=<port>`, `server=url`
|
|
|
|
|
|
|
|
- apache_TotalAccesses
|
|
|
|
- apache_TotalkBytes
|
|
|
|
- apache_CPULoad
|
|
|
|
- apache_Uptime
|
|
|
|
- apache_ReqPerSec
|
|
|
|
- apache_BytesPerSec
|
|
|
|
- apache_BytesPerReq
|
|
|
|
- apache_BusyWorkers
|
|
|
|
- apache_IdleWorkers
|
|
|
|
- apache_ConnsTotal
|
|
|
|
- apache_ConnsAsyncWriting
|
|
|
|
- apache_ConnsAsyncKeepAlive
|
|
|
|
- apache_ConnsAsyncClosing
|
|
|
|
|
|
|
|
### Scoreboard measurements
|
|
|
|
|
|
|
|
- apache_scboard_waiting
|
|
|
|
- apache_scboard_starting
|
|
|
|
- apache_scboard_reading
|
|
|
|
- apache_scboard_sending
|
|
|
|
- apache_scboard_keepalive
|
|
|
|
- apache_scboard_dnslookup
|
|
|
|
- apache_scboard_closing
|
|
|
|
- apache_scboard_logging
|
|
|
|
- apache_scboard_finishing
|
|
|
|
- apache_scboard_idle_cleanup
|
|
|
|
- apache_scboard_open
|