Powermta Monitoring 8080 May 2026

[[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"

#!/bin/bash METRICS=$(curl -s http://localhost:8080/pmta/stats) QUEUE_SIZE=$(echo "$METRICS" | grep "pmta.system.queue.size" | awk 'print $2') if [ "$QUEUE_SIZE" -gt 50000 ]; then echo "CRITICAL: PMTA queue > 50k messages" exit 2 elif [ "$QUEUE_SIZE" -gt 10000 ]; then echo "WARNING: Queue building up" exit 1 else echo "OK: Queue size $QUEUE_SIZE" exit 0 fi powermta monitoring 8080

Have a favorite PMTA monitoring script or dashboard? Share it in the comments below! [[inputs

After reloading PMTA ( pmta reload ), test it locally: In reality, the PowerMTA HTTP monitoring endpoint (default

Example telegraf.conf snippet:

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.