exim_exporter icon indicating copy to clipboard operation
exim_exporter copied to clipboard

Bug report: Doesn't export metrics about log files if using timestamps

Open theS1LV3R opened this issue 2 years ago • 1 comments

If log_timezone is set to true in exim configuration, the log format changes from

YYYY-MM-DD HH:MM:SS MAILID-MAILID-ID flag whatever whatever

to

YYYY-MM-DD HH:MM:SS +ZZZZ MAILID-MAILID-ID flag whatever whatever

(where flag is any of =>, <=, **, ==, etc etc)

This breaks checking the flags and generating exim_messages_total since the index (checked on lines 288-296) is offset by one.

theS1LV3R avatar Oct 11 '23 20:10 theS1LV3R

Thanks for the report. I've verified the issue is reproducible.

gvengel avatar Oct 25 '23 02:10 gvengel

Sorry, this got lost behind some feature work, and I should have just shipped it with a patch release... which I've done now with v0.6.2. Thanks again!

gvengel avatar Jul 13 '24 02:07 gvengel