/check-postqueue

Monitoring queue count in postfix.

Primary LanguageGoApache License 2.0Apache-2.0

check-postqueue

Description

Monitoring queue count in postfix.

Synopsis

check-postqueue -w 100 -c 200

Installation

First, build this program.

go get https://github.com/sugy/check-postqueue
go install

Next, you can execute this program :-)

check-postqueue -w 100 -c 200

Setting for mackerel-agent

If there are no problems in the execution result, add a setting in mackerel-agent.conf .

[plugin.checks.check-postqueue]
command = ["check-postqueue", "-w", "100", "-c", "200"]

Usage

Options

  -w, --warning=  number of messages in queue to generate warning (default: 100)
  -c, --critical= number of messages in queue to generate critical alert ( w < c ) (default: 200)

For more information

Please execute check-postqueue -h and you can get command line options.

other