Forked from: https://github.com/kumina/postfix_exporter/
c3262ed850
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. |
||
---|---|---|
.gitignore | ||
LICENSE | ||
postfix_exporter.go | ||
README.md |
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.