Google
Apache Server Status
A state-less EPA plugin, that reads Apache HTTPd mod-status performance data.
How it works
The script reads the response of a HTTP GET request to http://myWebHost/server-status?auto. The various information elements are parsed out and converted into Introscope metrics. The script can read status from both HTTP and HTTPS requests. The web host name is reflected in the metric name, so it’s easy to differentiate between several servers.
Configuration
Files
Requirements
- Perl 5
- cURL (usr/bin/curl)
- Apache mod-status configured and enabled for the target web server
Plugin configuration
introscope.epagent.plugins.stateless.names=APACHE introscope.epagent.stateless.APACHE.command=perl ./epaplugins/ribomation/apache-status.pl --host=www.apache.org introscope.epagent.stateless.APACHE.delayInSeconds=15
Parameters
| Parameter | Default | Description |
|---|---|---|
| prefix | Apache Status | Metric root node name |
| host | localhost | Hostname or IP of Apache HTTPd server |
| port | 80 | Non-standard port number |
| https | Enable HTTPS access | |
| debug | Enable DEBUG printouts to STDERR | |
| help | Print HELP and exit |



