You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Denis Knauf 80b13f9d3c postfix_exporter.service erb-template 3 days ago
lib collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 3 days ago
.gitignore collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 3 days ago
Gemfile collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 3 days ago
Gemfile.lock collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 3 days ago
README.adoc README: first draft 2 months ago
config.ru collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 3 days ago
gemset.nix init 2 months ago
postfix_exporter.rb collector splitted into dovecot, postfix and general files/classes. More unknown loglines eliminated. Dependency updates. 3 days ago
postfix_exporter.service.erb postfix_exporter.service erb-template 3 days ago
shell.nix init 2 months ago

README.adoc

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