Ed Schouten
c5b05341a3
Improve metric naming.
...
Rename the queue_* metrics to showq_*, named after the other processes.
Also add a missing _total suffix to the SASL failures metric.
2017-06-01 14:26:00 +02:00
Ed Schouten
a907c85658
Parse showq timestamps in the right timezone.
2017-05-29 14:51:46 +02:00
Ed Schouten
9b56cf9737
Also start scraping Postfix's log file for more relevant stats.
...
Queue stats on their own are a bit restrictive. Also go ahead and scrape
the Postfix logs to get more relevant metrics.
2017-05-02 15:07:19 +02:00
Ed Schouten
2e75bb4583
Add a build script for the Postfix exporter.
2017-05-02 14:44:21 +02:00
Ed Schouten
c4e1ef1c0e
Use assignment instead of declaration.
2017-04-18 16:09:22 +02:00
Ed Schouten
c3262ed850
Add the name of the message queue as a label.
...
Instead of providing stats for all messages collectively, it would make
more sense to group them by queue. That way it's possible to alert on
the number of active, deferred, etc. messages.
For Postfix 2.x there isn't a lot we can do, as there only is a single
ASCII character distinguishing between two queues specifically.
2017-04-18 16:03:53 +02:00
Ed Schouten
1df13fe2c1
Add support for Postfix 3.x's binary showq format.
...
This should fix issue #1 . Tested on the example provided.
2017-03-17 16:42:54 +01:00
Ed Schouten
307deac3ed
Add a simple README.
2017-02-17 16:04:32 +01:00
Ed Schouten
ca8f969166
Repurpose the existing port number intended for Postfix exporters.
2017-02-17 15:53:56 +01:00
Ed Schouten
4d4fa0de81
Use the right package name. This isn't meant for Unbound.
2017-02-17 15:50:47 +01:00
Ed Schouten
ccf97c55a5
Don't forget to assign the resulting date.
2017-02-17 15:47:45 +01:00
Ed Schouten
77eb147a0c
Pick a less insane port number.
...
I will eventually allocate an official port number when this gets open
sourced.
2017-02-17 15:31:45 +01:00
Ed Schouten
d39bb4793c
Document the code a bit more.
2017-02-17 15:31:04 +01:00
Ed Schouten
1e8a6b282d
Check in an initial copy of our Postfix metrics exporter.
2017-02-17 15:29:37 +01:00