[[inputs.http]] urls = ["http://localhost:8080/pmta/stats"] data_format = "value" data_type = "string" [[processors.regex]] [[processors.regex.fields]] key = "body" pattern = "(\w+\.\w+\.\w+)\s+(\d+)" replacement = "$1:$2"
http-listener listen-address :8080 # Restrict to localhost or your monitoring IP allow "127.0.0.1" allow "10.0.0.0/8" powermta monitoring 8080
Integrate this with for instant alerts. Pro Tip: Build a Live Dashboard Since port 8080 outputs plain text, you can pipe it into a lightweight tool like telegraf + InfluxDB + Grafana . [[inputs
After reloading PMTA ( pmta reload ), test it locally: PowerMTA includes a built-in web server that exposes
Let’s break down how to use it, what metrics matter, and how to set up proactive alerts. PowerMTA includes a built-in web server that exposes metrics via HTTP. When you see http-listener :8080 in your pmta/config file, you are looking at a live data stream of your MTA’s internal state.
Many admins disable or overlook this port, thinking it’s just for a “nice-to-have” web interface. In reality, the PowerMTA HTTP monitoring endpoint (default port 8080) is your best friend for real-time observability.