PureMessage Monitor Overview

PureMessage Monitor actions are performed by a series of command-line applications that are run as scheduled jobs. In a new installation, these scheduled jobs are present but disabled by default. Each of the PureMessage Monitor applications is configured by editing its corresponding configuration file. The PureMessage Monitor applications each perform a specific monitoring task.

pmx-monitor-notifier
Examines the PureMessage message_log and generates events when any message_log entries specified in the /opt/pmx/etc/monitor.d/monitor-notifier.conf file are encountered. See the pmx-monitor-notifier man page for more information on command-line arguments and the monitor-notifier.conf man page for more information on configuration file options.
pmx-monitor-consolidate
Required only in multi-server environments in where there is more than one server running a mail transfer agent (MTA). It consolidates events from multiple servers (specified as parameters at the command line) to the single server, where analysis is performed and the command is executed). See the pmx-monitor-consolidate man page for more information on command-line arguments.
pmx-monitor-analyzer
Analyzes whether the events generated by pmx-monitor-notifier in a single-server environment, or by pmx-monitor-consolidate in a multi-server environment, exceed the thresholds set per event type in the /opt/pmx/etc/monitor.d/monitor-analyzer.conf file. When a threshold is exceeded, pmx-monitor-analyzer generates an action event. See the pmx-monitor-analyzer man page for more information on command-line arguments and the monitor-analyzer.conf man page for more information on configuration file options.
pmx-monitor-reactor
Reacts to the action events generated by pmx-monitor-analyzer by performing the action specified in the /opt/pmx/etc/monitor.d/monitor-reactor.conf file. See the pmx-monitor-reactor man page for more information on command-line arguments and the monitor-reactor.conf man page for more information on configuration file options.
pmx-monitor-refresh-temporary-lists
Periodically refreshes temporary values in PureMessage lists if the /opt/pmx/etc/monitor.d/monitor-reactor.conf file uses PureMessage::Monitor::Reactor::ListAddTemporary. See the pmx-monitor-refresh-temporary-lists man page for more information on command-line arguments.

Data flow is generally as follows:

Once you have edited these configuration files, synchronize the changes to the PureMessage database with the following command:

pmx-profile sync-to-db --force --resource=monitor_config
Related information
pmx-monitor-notifier
monitor-notifier_conf
pmx-monitor-consolidate
pmx-monitor-analyzer
monitor-analyzer_conf
pmx-monitor-reactor
monitor-reactor_conf
pmx-monitor-refresh-temporary-lists