Find a file
2022-05-19 14:02:17 +02:00
lib collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 2022-05-19 14:02:17 +02:00
.gitignore collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 2022-05-19 14:02:17 +02:00
config.ru collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 2022-05-19 14:02:17 +02:00
Gemfile collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 2022-05-19 14:02:17 +02:00
Gemfile.lock collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 2022-05-19 14:02:17 +02:00
gemset.nix init 2022-04-06 00:31:39 +02:00
postfix_exporter.rb collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 2022-05-19 14:02:17 +02:00
README.adoc README: first draft 2022-04-06 00:40:07 +02:00
shell.nix init 2022-04-06 00:31:39 +02:00

postfix_exporter
================

Collects continuesly events from postfix and dovecot via journald.
Exports the collected event-counters and the currently count of queued messages.

Usage
-----

For nix, `nix-shell` knows any dependencies.

Any other:  You need `libffi` and some gems:

	apt install libffi
	bundle install

Run puma for testing and use curl for first fetch.

	puma

	curl http://localhost:9296/metrics

You should see the collected data.  On first run, this code be very empty.  Wait some minutes to have some emails.

journald should not drop loglines!  TODO: /etc/systemd/journald.conf