Commit graph

155 commits

Author SHA1 Message Date
Maximilian Kratz e8c5be0e0c
Merge branch 'kumina:master' into main 2024-04-24 09:53:02 +02:00
Maximilian Kratz e3539eecea
Merge pull request #4 from maxkratz/feature/migrate-ci-to-actions
Migrate CI to GitHub Actions
2023-01-29 13:04:36 +01:00
Maximilian Kratz a800e49c3c Changes CI config to GitHub Actions 2023-01-29 12:56:52 +01:00
Bart Vercoulen a6f58e9b2b
Merge pull request #75 from paradis/master
Add some new metrics when parsing postfix logs
2022-10-13 18:53:41 +02:00
Maximilian Kratz 16827c2af8
Merge branch 'kumina:master' into main 2022-09-10 09:32:46 +02:00
Maximilian Kratz df9a4bb41a
Merge pull request #3 from maxkratz/feature/arm-builds
Adds ARM version of images + dirty build script + new CI config
2022-01-22 15:08:01 +01:00
Maximilian Kratz 2a55caa1de Adds build script + adapts CI config 2022-01-22 14:58:59 +01:00
Maximilian Kratz 811d48c5f0 Adds drone CI config 2021-12-29 15:41:09 +01:00
Bart Vercoulen 580003c91b
Merge pull request #82 from hooten/go-1-16
Upgrade golang to 1.16
2021-10-19 11:39:10 +02:00
Maximilian Kratz d6e5e96ed7
Merge pull request #2 from maxkratz/hotfix/adapt-compose-to-log-path
Adapted docker-compose file to "new" log path mount point in container
2021-10-03 18:00:33 +02:00
Maximilian Kratz 50d67873c0 Adapted docker-compose file to "new" log path mount point in container 2021-10-03 17:59:29 +02:00
Maximilian Kratz 6c32591941
Merge branch 'kumina:master' into master 2021-10-03 17:47:47 +02:00
Dustin Hooten cbc36a39cc Upgrade golang to 1.16 2021-08-31 12:58:35 -06:00
Bart Vercoulen 5a8f14691e
Merge pull request #77 from ylecuyer/fix-mail-log-default-yle
Fix: Default for mail log path
2021-08-17 10:00:04 +02:00
Bart Vercoulen 35f158a754
Merge pull request #79 from piotr1212/PP-tail
Update tail from hpcloud/tail to nxadm/tail
2021-08-17 09:35:46 +02:00
Piotr Popieluch 2eb4b585fd
remove hpcloud/tail from go.mod 2021-08-16 10:31:22 +02:00
Piotr Popieluch 6039f0781e
Update tail from hpcloud/tail to nxadm/tail
Currently it does not always detect rotated logfiles. There are many issues in hpcloud/tail which are not addressed, hpcloud/tail looks dead. nxadm/tail is a fork which solved many known issues.
2021-05-12 11:36:22 +02:00
Yoann Lecuyer d99e38e0ae update changelog 2021-05-02 23:04:26 +02:00
Yoann Lecuyer ec57499cf9 Fix: Default for mail log path 2021-05-02 23:01:50 +02:00
Thomas Paradis 0523537d20 Expose the severity of unsupported lines 2021-04-14 12:41:37 +02:00
Thomas Paradis 4470123df6 Track the number of expired emails form logs 2021-04-14 11:06:44 +02:00
Thomas Paradis 8966f65067 Add another metric for mails delivered locally 2021-04-07 15:44:52 +02:00
Thomas Paradis 6531beb3a7 Add metric for non delivery notifications from bounce 2021-04-07 15:31:44 +02:00
Thomas Paradis 3abd6f4572 Add metric by status for all message processed by smtp 2021-04-07 15:21:26 +02:00
Bart Vercoulen b050cdff02
Merge pull request #73 from kumina/docker
Docker
2021-03-16 15:41:00 +01:00
Tommie Gannert f1d5d0ad4d
Adds a Docker log source.
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.

The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2021-03-16 15:37:29 +01:00
Tommie Gannert 82fa993361
Splits the log source handling with a pluggable interface.
Provides a cleaner split between log sources, specifically for not
compiling with systemd libraries.

This is in preparation for a new log source to read from Docker.
2021-03-16 15:36:56 +01:00
Bart Vercoulen efcf24731b
Merge pull request #72 from kumina/revert-60-docker
Revert "Adds a Docker log source."
2021-03-16 15:19:52 +01:00
Bart Vercoulen 1edadd0857
Revert "Adds a Docker log source." 2021-03-16 15:19:10 +01:00
Bart Vercoulen 9d314608ff
Merge pull request #60 from tommie/docker
Adds a Docker log source.
2021-03-16 12:24:33 +01:00
Bart Vercoulen de70743c99
Merge branch 'master' into docker 2021-03-16 12:23:51 +01:00
Bart Vercoulen 40c13b6ca0
Merge pull request #64 from k-kinzal/fixes-systemd-support
fixes an issue where can't get metrics in systemd journal
2021-03-12 10:52:58 +01:00
Bart Vercoulen 01f0d6c331
Merge pull request #50 from UnikumAB/time-based-buckets
Changed bucket sizes for Time measurements
2021-03-12 10:40:22 +01:00
Maximilian Kratz b711c3bb9a
Merge pull request #1 from maxkratz/feature/integrate-docker-compose-file
Added docker-compose file.
2020-09-07 12:18:25 +02:00
Maximilian Kratz 67abe2c260 Added docker-compose file. 2020-09-07 12:17:29 +02:00
cw-ozaki 4dda50457d fixes an issue where can't get metrics in systemd journal 2020-07-20 22:12:44 +09:00
Tommie Gannert c588b342a0 Adds a Docker log source.
When Postfix is running in a Docker container, it's most useful to use
the built-in Docker logging (as with Systemd). Setting
`--docker.enable` allows that.

The log source is using `client.NewEnvClient`, which reads environment
variables to determine which Docker to connect to, and how TLS is
handled.
2020-07-02 10:22:01 +02:00
Tommie Gannert 1451d25af5 Splits the log source handling with a pluggable interface.
Provides a cleaner split between log sources, specifically for not
compiling with systemd libraries.

This is in preparation for a new log source to read from Docker.
2020-07-02 10:21:25 +02:00
Bart Vercoulen 8e63fbbe8d
Merge pull request #54 from k-kinzal/fixes-panic-logfilepath-empty
fixes panic appears when tailer is nil
2020-06-30 15:10:33 +02:00
Bart Vercoulen bbcbead832
Merge pull request #57 from pard68/UPDATE/readme
Updated README
2020-06-30 14:45:04 +02:00
Bart Vercoulen 533b55d280
Merge pull request #58 from martinkoerper/fix-regex
fix smtpd TLS connection regex
2020-06-30 14:42:36 +02:00
Martin Körper b07b6f4abf fix smtpd TLS connection regex 2020-05-23 16:28:33 +02:00
Ian S. Pringle 046eb3dd8c Updated README
- Previously the README directed readers to look inside of `main.go` in
  order to see the various flags. I found this to be unacceptable and I
  have updated the README with flags from both `main.go` and
  `systemd.go` I could not find any further flags however I could be
  missing something.
- Updated the description in the README to be less verbose.
2020-05-15 08:24:11 -04:00
cw-ozaki a85bda5e49 fixes panic appears when tailer is nil 2020-04-23 11:07:38 +09:00
Per Abich 9cfeea8536 Made the buckets sizes for Histograms measuring seconds into more "human" timspans (minutes, hours, days) 2020-02-28 15:05:52 +01:00
Ivaylo Korakov b0b31e3bab Merge branch 'master' of github.com:kumina/postfix_exporter 2020-02-26 21:41:09 +01:00
Ivaylo Korakov e17ab80d64 Merge branch 'UnikumAB-master' 2020-02-26 21:40:44 +01:00
Ivaylo Korakov 805425c2b1
Merge pull request #45 from UnikumAB/Added-missing-descriptions
Added missing descriptions
2020-02-26 21:33:47 +01:00
Per Abich a8a53bd934 Merge branch 'Fixing-startup-flag'
* Fixing-startup-flag:
  #14: Removed leftover info about truncating the logfile. Also changed thhe default to maillog since that is the normal file postfix uses.
2020-02-26 11:37:30 +01:00
Per Abich d03d270607 #14: Removed leftover info about truncating the logfile. Also changed thhe default to maillog since that is the normal file postfix uses. 2020-02-26 11:36:35 +01:00