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
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
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
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
Per Abich
63673cda15
Merge branch 'Added-missing-descriptions'
2020-02-25 11:42:10 +01:00
Per Abich
23c29672fc
Better config for travis
...
(cherry picked from commit 9daef831b3
)
2020-02-25 11:40:11 +01:00
Per Abich
8dd22155dc
Added libsystemd-dev package to travis build env.
...
(cherry picked from commit be9aeb48ac
)
2020-02-25 11:40:11 +01:00
Per Abich
208f99cee2
Added Travis config file
...
(cherry picked from commit 3e20a86b1d
)
2020-02-25 11:40:11 +01:00
Per Abich
1456fb0095
Added Travis config file
...
(cherry picked from commit a1f115bef9
)
2020-02-25 11:40:11 +01:00
Per Abich
9daef831b3
Better config for travis
2020-02-25 11:04:53 +01:00
Per Abich
be9aeb48ac
Added libsystemd-dev package to travis build env.
2020-02-25 10:55:38 +01:00
Per Abich
3e20a86b1d
Added Travis config file
2020-02-25 10:50:16 +01:00
Per Abich
a1f115bef9
Added Travis config file
2020-02-25 10:39:00 +01:00
Per Abich
b17eed2ad7
Fixing issue with collecting smtpdProcesses without Sasl
2020-02-24 16:44:29 +01:00
Per Abich
ca63474631
Fixing issue with collecting delays
...
(cherry picked from commit 384943fe47c327667fbb21e5ec5ea40e048454a1)
2020-02-24 16:27:17 +01:00
Per Abich
02162353c1
Merge remote-tracking branch 'kumina/master'
2020-02-24 16:03:53 +01:00