ZenPack:Postfix

From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search
Author(s)
Andrew D Kirch
Current Maintainer(s)
Andrew D Kirch
Organization
Community
License
GNU General Public License, Version 2
ZenPack name
ZenPacks.trelane.Postfix
More Information
GitHub page/HomePage
Git sources (for cloning)
Link




Postfix ZenPack

Basic monitoring of Postfix queues and logged throughput

Warning

The ZenPack Catalog has moved to its new home at https://www.zenoss.com/product/zenpacks as of January 17, 2017. The following information may be out of date, and this page will eventually be removed.

Support

This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.

Releases

Version 1.0.5- Download
Summary of changes: ZenPack now honors zCommandUsername
Released on 2015/03/23
Compatible with Zenoss Core 4.2.x

Background

Notes

This pack relies on parsing log output. Various distributions customize or change the log output, and formatting of various daemons, especially core daemons like Postfix. This ZenPack has been tested against the logging in CentOS 6 only (to date). Please e-mail me for more/other support. If you need more log parsing, I will need a fairly large ~10mb mail log.

Usage

Accept your postfix server's ssh fingerprint if you have not, and create an ssh key with no password to automate logins. Add this template to your Linux server running postfix.

Features

Data Point Description
Queue Length of Queue from 'postqueue -p'
Sent E-mails sent from the mail server
Received E-mails received by the mail server
Spam e-mails marked as spam by the mail server

Bugs/Feature Requests

e-mail akirch at zenoss dot com

Installation

Normal Installation (packaged egg)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.trelane.Postfix-*.egg
  4. Restart these services:
    $ zenoss restart

Developer Mode Installation

In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone https://github.com/trelane/ZenPacks.trelane.Postfix
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.trelane.Postfix
  4. Finally, restart these serivices:
    $ zenoss restart

Discuss

Purplemarker.png New: Don't forget to add yourself to the Zenoss User Map!

blog comments powered by Disqus