Postfix Delivery Status

Log-based solution for monitoring Postfix

Postfix Delivery Status screenshot 1

Dashboard that uses only logs from Loki as datasource. Logs will be processed on the server.

For extra large mail volumes, some values cannot be counted. In this case, consider increase Loki settings (see https://github.com/grafana/loki/issues/3045) .

Here is the approximate configuration of the promtail software:

clients:
  - external_labels:
      host_id: mailserver.domain
    url: http://192.168.1.1:3100/loki/api/v1/push

- job_name: mail
  static_configs:
    - targets:
      - localhost
    labels:
      job: mail
      __path__: /var/mail/mail.log

There is also an alternative solution based on Zabbix https://github.com/pavlozt/ansible-role-zabbixmon_postfix

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies