1
mirror of https://git.brainsys.io/ansible-roles/prometheus.git synced 2026-02-09 20:08:08 +00:00
Files
ansible-role-prometheus/templates/systemd/prometheus-apache-exporter.service.j2
Camille Prugnard f02c1270fe add php exporter
2021-10-08 10:23:56 +02:00

11 lines
261 B
Django/Jinja

[Unit]
Description=Prometheus Apache Exporter
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/prometheus-apache-exporter --scrape_uri="http://localhost:{{ prometheus_apache_port }}/server-status/?auto"
[Install]
WantedBy=multi-user.target