You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mikanoshi d36b6a21c7 | 8 years ago | |
---|---|---|
LICENSE | 8 years ago | |
README.html | 8 years ago | |
check_apache_watch | 8 years ago | |
graph.jpg | 8 years ago |
README.html
Monitoring plugin for Apache with mod_watch
Collects request and document counts.
Plugin supports Nagios, Collectd and Influx Line Protocol output formats.
Requirements:
- Perl interpreter
- mod_watch module (patches for Apache 2.4 can be found here)
Example Apache config
LoadModule watch_module libexec/apache24/mod_watch.soCollectd output format requires adding this line to types.db file:SetHandler watch-list
apache docs:GAUGE:0:U, reqs:GAUGE:0:U
Plugin parameters
[Required] watch-list URL, e.g. http://login:pass@127.0.0.1:8080/watch-list?auto [Required] Comma-separated list of domains to monitor (used as type-instances for collectd and as "domain" tag for influxlp) [Optional] Output format - nagios, collectd, influxlp (defaults to nagios) Collectd format: [Optional] Hostname (defaults to current system hostname) [Optional] Plugin name (defaults to apachewatch) <300> [Optional] Interval (defaults to 60 sec) Influx Line-Protocol format: [Optional] Measurement name (defaults to apachewatch)