Prometheus metrics for Dovecot

This commit is contained in:
Julian Rother 2025-02-09 02:01:45 +01:00
parent 71eb192c73
commit b1ce5b3e84
Signed by: julian
GPG key ID: C19B924C0CD13341
5 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Dovecot master prometheus exporter
After=dovecot.service
Requisite=dovecot.service
[Install]
WantedBy=multi-user.target
[Service]
ExecStart=/usr/bin/python3 /usr/local/sbin/prometheus-dovecot-master-exporter
Environment=PYTHONUNBUFFERED=1
Restart=always