Changes between Initial Version and Version 1 of mf-monitor-mailq


Ignore:
Timestamp:
Mar 15, 2013, 6:01:59 PM (11 years ago)
Author:
Ross
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mf-monitor-mailq

    v1 v1  
     1= mf-monitor-mailq =
     2== Synopsis ==
     3Output the number of messages in the mailq
     4
     5== Description ==
     6Optionally, set environment variables MF_MAILQ_WARNING or MF_MAILQ_CRITICAL to indicate levels that should cause this script to output whether we are experiencing a nagios critical or warning level event (this is only necessary when outputing to /var/log/mfpl/monitor.
     7
     8You may also set MF_MAILQ_DIR if the server is not running postfix or should otherwise check a different directory.
     9
     10== Examples ==
     11{{{
     120 stone:~# mf-monitor-mailq
     13236
     140 stone:~#
     15}}}
     16
     17== See Also ==
     18[[mf-show-deferred-email-content]]
     19
     20'''[wiki:how-to/servers/mf-commands << MayFirst Commands]'''