The node serves its main metrics over SNMP — everything show status prints.
On Linux this is a separate package from the vendor’s download page. The daemon runs on its own or as an AgentX subagent if a master agent is already running on the machine — for example, snmpd from Net-SNMP with the master agentx line.
The configuration is /etc/pmta/pmtasnmp.conf, an ordinary Net-SNMP file; by default anyone with the public community string can read the data. The data description is the MIB /usr/share/snmp/mibs/PowerMTA-MIB.txt.
What is where:
| What | Where |
|---|---|
| daemon configuration | /etc/pmta/pmtasnmp.conf |
| data description | /usr/share/snmp/mibs/PowerMTA-MIB.txt |
| check | snmpwalk from Net-SNMP |
# all engine metrics over SNMP snmpwalk -v2c -c public localhost PowerMTA-MIB::mta
2 relations
grep -nE 'community' /etc/pmta/pmtasnmp.conf
3 articles
◇The vendor's analytics — and what leaves the node for itA paid service that receives the node’s accounting data and returns analytics, a health score and a spam trap report; it is enabled by scope and stays off until its block exists.◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.