Go to file
Ed Schouten c3262ed850 Add the name of the message queue as a label.
Instead of providing stats for all messages collectively, it would make
more sense to group them by queue. That way it's possible to alert on
the number of active, deferred, etc. messages.

For Postfix 2.x there isn't a lot we can do, as there only is a single
ASCII character distinguishing between two queues specifically.
2017-04-18 16:03:53 +02:00
.gitignore Check in an initial copy of our Postfix metrics exporter. 2017-02-17 15:29:37 +01:00
LICENSE Check in an initial copy of our Postfix metrics exporter. 2017-02-17 15:29:37 +01:00
postfix_exporter.go Add the name of the message queue as a label. 2017-04-18 16:03:53 +02:00
README.md Add a simple README. 2017-02-17 16:04:32 +01:00

Prometheus Postfix exporter

This repository provides code for a simple Prometheus metrics exporter for the Postfix mail server. Right now, this exporter only provides histogram metrics for the size and age of messages stored in the mail queue. It extracts these metrics from Postfix by connecting to a UNIX socket under /var/spool.

Please refer to this utility's main() function for a list of supported command line flags.