Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 740 Bytes

File metadata and controls

23 lines (18 loc) · 740 Bytes

mackerel-plugin-mailq

This plugin collects the number of messages in the processing queue of MTAs. Exim, Postfix and qmail are supported.

Usage

mackerel-plugin-mailq -M <mta> [-metric-key-prefix <prefix>] [-metric-label-prefix <prefix>]

Options

-M   Name of MTA: exim, postfix, or qmail (mandatory)
-c   Path to queue-printing command, such as postqueue for postfix and qmail-qstat for qmail.
     Give this option if the command has non-standard name. Usually it can be guessed from the -M option

Example agent configuration

[plugin.metrics.mailq]
command = "/usr/local/bin/mackerel-plugin-mailq -M postfix"