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

Missing metrics #95

Open
dc-mailchannels opened this issue Oct 27, 2022 · 5 comments
Open

Missing metrics #95

dc-mailchannels opened this issue Oct 27, 2022 · 5 comments

Comments

@dc-mailchannels
Copy link

I've installed this across a number of machines and consistently found a number of metrics aren't being returned including smtp_messages_processed_total.

@fiirhok
Copy link

fiirhok commented Nov 3, 2022

I'm seeing the same thing, is there anything I can check?

@yvoictra
Copy link

Same here...

@fiirhok
Copy link

fiirhok commented Nov 28, 2022

It turns out the issue was only with the version packaged for Ubuntu (prometheus-postfix-exporter:0.3.0-1). When we built from source, we got all of the expected metrics.

@joelsdc
Copy link

joelsdc commented Nov 28, 2022

Something similar happened to us, we ended up building from master (it has some nice fixes compared to the latest release). (We also updated Postfix, but that isn't relevant here)

Now most if not all the metrics are populated correctly.

@dswarbrick
Copy link

dswarbrick commented Feb 9, 2023

It turns out the issue was only with the version packaged for Ubuntu (prometheus-postfix-exporter:0.3.0-1). When we built from source, we got all of the expected metrics.

This is likely due to the broken systemd-journal support in postfix_exporter, which is the default method of reading the Postfix log in the Debian / Ubuntu package of prometheus-postfix-exporter. See #55.

If you reconfigure your packaged exporter to read from /var/log/mail.log instead, I expect it will work for you.

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

5 participants