PowerMTA Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

PowerMTA 5.5r1 is out!!!!  Please contact support@port25.com for a license and download access.

Author Topic: Best way to monitor PMTA stats like queue size  (Read 46686 times)

msuser

  • Jr. Member
  • **
  • Karma: +0/-4
  • Posts: 29
Best way to monitor PMTA stats like queue size
« on: June 25, 2018, 09:25:26 AM »

What is the recommended way to monitor PMTA stats like queue size, connections etc. ? Can we get those values in OS performance counters?
Logged

Port25-Admin1

  • Administrator
  • Hero Member
  • *****
  • Karma: +49/-4
  • Posts: 2361
Re: Best way to monitor PMTA stats like queue size
« Reply #1 on: June 25, 2018, 10:09:29 AM »

pmta --dom show status

Write a script the runs that command every x minutes and dumps it somewhere.  The --dom works on most commands.
Logged
Port25-Admin1
------------------
Try the following commands:
Quote
pmta show topdomains --errors
pmta show topqueues --errors
pmta --help

When PowerMTA won't start use:
Quote
pmtad --debug
When all else fails-->support@port25.com