https://github.com/lynix/prometheus-postscreen-exporter
Prometheus exporter for Postfix' postscreen check results
https://github.com/lynix/prometheus-postscreen-exporter
postfix postscreen prometheus-exporter
Last synced: 10 months ago
JSON representation
Prometheus exporter for Postfix' postscreen check results
- Host: GitHub
- URL: https://github.com/lynix/prometheus-postscreen-exporter
- Owner: lynix
- License: mit
- Created: 2020-11-20T15:41:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-06T08:22:12.000Z (over 4 years ago)
- Last Synced: 2025-07-03T15:13:46.235Z (11 months ago)
- Topics: postfix, postscreen, prometheus-exporter
- Language: Go
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prometheus-postscreen-exporter
[](https://opensource.org/licenses/MIT)
[](https://github.com/lynix/prometheus-postscreen-exporter/actions)

## Summary
*prometheus-postscreen-exporter* exposes check results from Postfix'
[postscreen](http://www.postfix.org/postscreen.8.html) as
[Prometheus](https://prometheus.io) metrics by reading the systemd journal.
**Disclaimer:** This is the result of a hack-a-day and not considered ready for
production. The author had never written a single line of Go before starting
this project.
## Usage
*prometheus-postscreen-exporter* is best run via systemd:
```INI
# prometheus-postscreen-exporter.service
[Unit]
Description=Prometheus exporter for Postfix postscreen
[Service]
ExecStart=/usr/bin/prometheus-postscreen-exporter
User=prometheus
Group=systemd-journal
Restart=always
ProtectSystem=full
[Install]
WantedBy=multi-user.target
```
Options can be set via arguments:
| Flag | Description | Default |
|:----------------------|:-----------------------------------|:-----------|
| `-web.listen-address` | Address to listen on for telemetry | `:9101` |
| `-web.telemetry-path` | Path under which to expose metrics | `/metrics` |
## Bugs / Features
Pull requests are always welcome. Feel free to report bugs or post questions
using the *Issues* function on GitHub.
## License
This project is published under the terms of the *MIT License*. See the file
`LICENSE` for more information.