Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 994 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 994 Bytes

apache exporter

Prometheus exporter that exposes Apache mod_status statistics.

The exporter is maintained by Lusitaniae/apache_exporter project.

Install on a standard instance

For a standard instance, we use an ansible role maintained by Xat59/ansible-role-apache_exporter, to deploy the exporter into an instance.

Create the ansible playbook file

Create a apache-exporter.yml file with the following content :

- hosts: <host>
  roles:
    - role: xat59.apache_exporter
      apache_exporter_option_scrape_uri: http://<server>/server-status?auto

Replace <host> with the host (or list of hosts) where to install the exporter. Plus, replace <server> with the DNS or IP of the Apache you want to monitor.

Deploy it

ansible-galaxy install xat59.apache_exporter
ansible-playbook -vv apache-exporter.yml