Перейти к содержанию

Создание unit для apache_exporter в Prometheus

vim /etc/systemd/system/apache_exporter.service

[Unit]
Description=Apache2 metrics exporter for Prometheus
After=network-online.target
[Service]
ExecStart=/usr/bin/apache_exporter
Restart=always
ProtectSystem=full
CapabilityBoundingSet=

[Install]
WantedBy=multi-user.target

Опубликовано в рубрикеMonitoring & logs

Оставьте первый коментарий

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.