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
- For Virtual Machines, install the Linux Agent.
- 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 Metric | Metric Display Name | Unit | Description |
---|---|---|---|
postfix_queues_incoming | Queues Incoming | Queue count | Postfix incoming mail queues count |
postfix_queues_active | Queues Active | Queue count | Postfix active mails queues count |
postfix_queues_maildrop | Queues Maildrop | Queue count | Postfix maildrop mails queues count |
postfix_queues_deferred | Queues Deferred | Queue count | Postfix deferred mails queues count |
postfix_queues_bounce | Queues Bounce | Queue count | Postfix bounce mails queues count |