Port25 Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

BREAKING NEWS: PowerMTA 5.0 beta 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 439 times)

msuser

  • Jr. Member
  • **
  • Karma: +0/-0
  • 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: +42/-6
  • Posts: 2325
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