[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#921351: [pkg-go] Bug#921351: prometheus-postfix-exporter: Init script missing



Just a heads up.

Since there was no reply to this email, and with the soft freeze looming
over our heads, last night I went ahead and fixed this bug, which
required doing some substantive changes to the package. I hope it is OK
for all involved.

On 07/02/2019 17:01, Martín Ferrari wrote:
> Daniel, et al.
> 
> 
> I was preparing a fix for this by copying some support scripts from
> other exporters when I noticed a couple of things, and wanted to check
> with you before making any change.
> 
> This exporter is running with user postfix, while all the others use the
> prometheus user. I understand that you need to access the queue
> directly, but this could be done by granting the postqueue group when
> starting the process instead.
> 
> Another thing is that this requires a special log configuration
> (duplicating all postfix entries to a new file, and making that file
> writable by the user this exporter runs as), which probably should be
> documented in a Debian readme, and I have no idea how to do this with
> systemd? Also, I'd suggest moving that log to /var/{lib,log}/prometheus
> 
> 
> Honestly, back in the day I had looked at this exporter and decided it
> was not great because of the log requirement, and started using mtail
> for monitoring postfix.
> 


-- 
Martín Ferrari (Tincho)


Reply to: