Postfix is a fast, easy to administer, and secure Wietse Venema’s mail server that started life at IBM research as an alternative to the widely-used Sendmail program. Now at Google, Wietse continues to support Postfix. Built from a source code, Postfix can run on systems such as UNIX, AIX, BSD, HP-UX, Linux, MacOS X, and Solaris.

Postfix is also distributed as ready-to-run code by operating system vendors, appliance vendors, and other providers.

Prerequisites

  1. For Virtual Machines, install the Linux Agent.
  2. Grant sudo access to the OpsRamp Agent.

Configuring the application

Virtual machine

Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-detection.yaml

- name: postfix
  instance-checks:
    service-check:
      - postfix
    process-check:
      - postfix
    port-check:
      - 25
    command-check:
      - "postfix -c /etc/postfix/ status >/dev/null 2>&1;echo $?"

Validate

Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.

Metrics

OpsRamp MetricMetric Display NameUnitDescription
postfix_queues_incomingQueues IncomingQueue countPostfix incoming mail queues count
postfix_queues_activeQueues ActiveQueue countPostfix active mails queues count
postfix_queues_maildropQueues MaildropQueue countPostfix maildrop mails queues count
postfix_queues_deferredQueues DeferredQueue countPostfix deferred mails queues count
postfix_queues_bounceQueues BounceQueue countPostfix bounce mails queues count