Comments (4)
Moreover, in case of multiple postfix instances log line may contain not "postfix" but "postfix-instance" (postfix-mx in my example).
master.cf snipped:
content-filter unix - - y - 2 smtp
-o syslog_name=${multi_instance_name?{$multi_instance_name}:{postfix}}/$service_name
log line looks like
Nov 08 08:08:59 mx postfix-mx/content-filter/smtp[273144]: 4HnkK60lBRz6tl1: to=<[email protected]>, relay=192.168.1.1[192.168.1.1]:20202, delay=1.9, delays=1.7/0/0.05/0.18, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[192.168.1.2]:10025): 250 2.0.0 Ok: queued as 4HnkK74hXyz6tl6)
so neither regex from 0.3 nor from 0.2 does not catch them
v0.2: logLine = regexp.MustCompile(` ?postfix/(\w+)\[\d+\]: (.*)`)
v0.3: logLine = regexp.MustCompile(` ?(postfix|opendkim)(/(\w+))?\[\d+\]: (.*)`)
from postfix_exporter.
This should be fixed by #88 if you want to give it a try
from postfix_exporter.
Having the same issue here. I have not tried the PR @Subito. I don't think it will ever be merged in?
from postfix_exporter.
Having the same issue here. I have not tried the PR @Subito. I don't think it will ever be merged in?
Probably not. I'm still using the fork which contains #88 and it works fine for us.
from postfix_exporter.
Related Issues (20)
- SASL authentication failed regex too strict? HOT 2
- usage with docker-compose HOT 2
- domains as additional labels?
- Pre-built binaries HOT 2
- Docker build fails on "go test" HOT 3
- postfix enable_long_queue_ids
- Should the Metric structure adopt Prometheus metric best practices?
- Status of the project HOT 1
- Install is stuck HOT 3
- FreeBSD support HOT 2
- TLS 1.3 log lines not parsed
- Help installing Postfix Exporter HOT 1
- Ansible Role
- Typo in `postfix_qmgr_messages_inserted_receipients` metrics
- add --version flag
- 0.4.0? HOT 2
- Permission denied opening logfile HOT 2
- Metric Documentation HOT 1
- Missing metrics HOT 5
- Question on naming of metrics HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postfix_exporter.