Sign inSign up

garyritchie/apache_exporter

By garyritchie

Updated almost 11 years ago

Apache status exporter for Prometheus monitoring.

Image
0

695

garyritchie/apache_exporter repository overview

Apache Exporter for Prometheus

Exports apache mod_status statistics via HTTP for Prometheus consumption.

With working golang environment it can be built with go get.

Help on flags:

  -insecure
    	Ignore server certificate if using https (default false)
  -log.level value
    	Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal, panic]. (default info)
  -scrape_uri string
    	URI to apache stub status page (default "http://localhost/server-status/?auto")
  -telemetry.address string
    	Address on which to expose metrics. (default ":9117")
  -telemetry.endpoint string
    	Path under which to expose metrics. (default "/metrics")

Tested on Apache 2.2 and Apache 2.4.

Docker Image

Build

docker build -t apache_exporter .

docker run -d -p 9117:9117 --name prometheus-apache_exporter apache_exporter

or run directly...

docker run -d -p 9117:9117 --net host --name prom-apache_exporter garyritchie/apache_exporter

Tag summary

Content type

Image

Digest

Size

206.1 MB

Last updated

almost 11 years ago

docker pull garyritchie/apache_exporter