"apache" plugin
The "apache" plugin queries the
page generated by
mod_status,
parses it and submits the number of bytes
transfered, the number of requests received,
and the number of processes in the various
states of the scoreboard.
The plugin uses libcurl to connect to the webserver, optionally using a configured username/password to authenticate. It tries to keep a keep-alive connection open to minimize the overhead of connecting to the server. It's also possible to query hosts over SSL.
Details of the configuration can be found in
the collectd.conf(5)
manpage.
Data sources
apache/apache_bytes.rrd
I'm very sorry, but I currently don't know if this is incoming traffic, outgoing traffic or both combined.
count(counter, min 0, max 227)- Traffic handeled/served by the Apache webserver.
apache/apache_requests.rrd
count(counter, min 0, max 220)- Requests served by the Apache webserver.
apache/apache_scoreboard-instance.rrd
This file contains information about "process slots" in various modes. A "process slot" is a data structure within the webserver and not neccessarily a running process. The actual modes may depend on the MPM being used.
count(gauge, min 0)- Number of process slots in the specified mode.
Filename
apache/apache_requests.rrd
apache/apache_scoreboard-instance.rrd
Example graph



Dependencies
- Apache Webserver with
mod_status - lighttpd with
mod_status(of course this is an alternative to the Apache Webserver) - libcurl
