Ivaylo Korakov
52ac4648f4
Merge pull request #44 from UnikumAB/Issue#38
...
Fixes #38 List of postfix_smtpd_messages_processed_total growing over time
2020-02-24 11:18:16 +01:00
Ivaylo Korakov
7fff1561e0
Merge pull request #43 from UnikumAB/Issue#35
...
Fixes issue #35 smtpTLSLine doesn't match
2020-02-24 11:13:23 +01:00
Per Abich
8113240edf
Reduced the cardinality of postfix_smtpd_messages_processed_total for #38 by not aggregating per user but only for the sasl_method
2020-02-23 20:41:35 +01:00
Per Abich
0ca70fa8cb
Created a test for Issue #35 and suggested a solution
2020-02-22 22:43:26 +01:00
Per Abich
0436fed067
Making test easier to use
2020-02-22 17:06:44 +01:00
Ivaylo Korakov
69a7101dc6
Merge pull request #42 from kumina/UnikumAB/master
...
small thing
2020-02-21 12:13:47 +01:00
Ivaylo Korakov
75851911ef
Merge pull request #40 from UnikumAB/master
...
VGO, simple test and some minor cleanup
2020-02-21 12:13:04 +01:00
Ivaylo Korakov
853b8806bd
small thing
2020-02-21 12:11:58 +01:00
Per Abich
c598c828be
Merge pull request #2 from UnikumAB/digineo-updates
...
Digineo updates
2020-02-19 18:21:39 +01:00
Per Abich
2e1ca8fd52
ran "go mod tidy" after merge
2020-02-19 18:18:31 +01:00
Per Abich
fd473ea329
Merge remote-tracking branch 'digineo/gomod' into digineo-updates
...
# Conflicts:
# Dockerfile
# go.mod
# go.sum
2020-02-19 18:16:20 +01:00
Per Abich
30711892c6
added go.sum
2020-02-19 18:11:52 +01:00
Per Abich
d23c664b65
Fixing merge issues
2020-02-19 18:10:45 +01:00
Per Abich
b268207758
Merge remote-tracking branch 'digineo/refactoring' into digineo-updates
...
# Conflicts:
# postfix_exporter.go
2020-02-19 17:57:34 +01:00
Per Abich
7428bf432b
Added better counting of unsupported lines
2020-02-19 13:08:47 +01:00
Per Abich
eab41dab6b
Fixed compile failure
2020-02-18 16:56:31 +01:00
Per Abich
3af4390187
- Added flag for logging lines that were not processed (mainly for debugging/development)
...
- Added Counter for smtp Connection Timed Out events
- Added counter for OpenDKIM signatures added
2020-02-18 16:54:25 +01:00
Per Abich
e416d73974
Fixed test
2020-02-18 16:17:13 +01:00
Per Abich
574e478b44
Removed unused variable
2020-02-18 15:32:44 +01:00
Per Abich
26d0642831
Moved the collection of stats into its own go routine
2020-02-18 15:31:07 +01:00
Per Abich
3e8a3a4917
Cleaning up the Dockerfile
2020-02-18 13:33:30 +01:00
Per Abich
72c753ff7d
Merge remote-tracking branch 'netlogix/nlx_master'
...
# Conflicts:
# postfix_exporter.go
2020-02-18 12:50:41 +01:00
Per Abich
851c00f29f
Added a simple test and migrated to vgo
2020-02-12 13:41:29 +01:00
Per Abich
da5280083a
Added extra build tags to enable testing on no-linux systems
2020-02-12 13:40:22 +01:00
Per Abich
b0a28deeca
Added logging of log event source
2020-02-12 13:39:13 +01:00
Per Abich
365a2e307a
Ignoring more files
2020-02-12 13:38:03 +01:00
Ivaylo Korakov
aa111672d4
Update docker file
2019-10-31 18:22:22 +01:00
Tim Stoop
0a237f860d
Merge pull request #30 from ljagiello/build-with-golang-image
...
Build binary with official golang image
2019-07-25 14:03:19 +02:00
Tim Stoop
9f69ed3c47
Merge pull request #29 from CamilionEU/evilham-new-metrics
...
New metrics cleanupNotAccepted and smtpDeferreds.
2019-07-25 14:02:21 +02:00
Tim Stoop
c43f4d9402
Merge pull request #33 from Azanx/prometheusHandlerFix
...
replace prometheus.Handler with promhttp.Handler
2019-07-25 13:59:41 +02:00
Azanx
689aedff1c
replace prometheus.Handler with promhttp.Handler
2019-06-20 16:45:51 +02:00
Lienhart Woitok
0ca7f8207f
Merge pull request #2 from netlogix/ponert
...
[FIX] made metric smtp_status_deferred actually work
2019-04-15 19:50:37 +02:00
Andre Ponert
18a48b8d7d
[FIX] made metric smtp_status_deferred actually work
2019-04-15 19:48:49 +02:00
Lienhart Woitok
7f5757e35c
Merge pull request #1 from netlogix/ponert
...
Added support for status=deferred metric
2019-04-15 19:01:51 +02:00
Andre Ponert
5ceffcde75
[FIX] consistent variable names
2019-04-15 18:57:32 +02:00
Andre Ponert
b925d46fcb
Added support for status=deferred metric
2019-04-15 18:46:11 +02:00
Lukasz Jagiello
63db16cbcb
Build binary with official golang image
...
Ubuntu 16.04 use a very old Go version (1.6). It's better to use
official golang docker image with the latest golang release - 1.12.
Additionally I was able to fix #16 where `--systemd.enable` wasn't
working correctly.
2019-03-07 15:08:50 -08:00
Evilham
114311033f
New metrics cleanupNotAccepted and smtpDeferreds.
...
This adds support for two new metrics:
* `cleanup_messages_not_accepted_total`
* `smtp_deferred_messages_total`.
2019-03-07 17:59:04 +01:00
Julian Kornberger
8e333e774e
Update dependencies
2019-02-21 00:14:45 +01:00
Julian Kornberger
43221afdb0
Move main function to main.go
2019-02-21 00:04:06 +01:00
Julian Kornberger
7072c5242f
Small refactoring
2019-02-21 00:04:06 +01:00
Julian Kornberger
243cb79779
Reduce indentation
2019-02-21 00:04:06 +01:00
Julian Kornberger
99db0017f8
Update Dockerfile to use Go 1.11 with modules
2019-02-21 00:00:02 +01:00
Julian Kornberger
acf7a97917
Use Go modules
2019-02-20 23:54:44 +01:00
Bart Vercoulen
af6943b1bc
Fixed Readme.
2019-02-15 12:41:28 +01:00
Bart Vercoulen
1b1c5f3489
Merge pull request #17 from eklitzke/tail
...
When following log files, tail them rather than truncate them.
2019-02-15 12:14:41 +01:00
Bart Vercoulen
a4e09a2c37
Merge branch 'master' into tail
2019-02-15 10:53:21 +01:00
Bart Vercoulen
623a840f32
Merge pull request #23 from kumina/kingpin_update
...
Refactored to kingpin and bugfix.
2019-02-15 10:51:19 +01:00
Bart Vercoulen
d73bd20065
Fixed formatting.
2019-02-15 10:41:53 +01:00
Bart Vercoulen
8bbd11f3cd
Merge pull request #26 from mjtrangoni/fix-error-handling
...
postfix_exporter.go: Handle the case where EOF is reached.
2019-02-13 10:16:09 +01:00