Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/var/lib/prometheus/postfix-exporter/mail.log is growing indefintely #118

Open
jbartak opened this issue Aug 1, 2024 · 0 comments
Open

Comments

@jbartak
Copy link

jbartak commented Aug 1, 2024

Hi, we started using this exporter for monitoring our mail servers.
It runs in very default config. We've noticed it is writing into /var/lib/prometheus/postfix-exporter/mail.log and it size if growing indefinitely.

Right now:

|Debian-11|[root@qla-prod-ue1-la-smtp-01-1 bin]$ ls -lah /var/lib/prometheus/postfix-exporter/mail.log 
-rw-r----- 1 prometheus prometheus 6.1G Jul  3 18:41 /var/lib/prometheus/postfix-exporter/mail.log

How we should address this? Logrotate?
And why it needs to duplicate config mail.log when it is available in /var/log/mail.log?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant