check_local_unread_emails

Monitoring plugin to check local unread email presence

Requirement

  • Python (2.4 or newer, test with 2.4, 2.7, 3.5 and 3.7)

Usage

usage: check_local_unread_emails [-h] [-D SPOOL_DIR_PATH] [-x EXCLUDE] [-d]
                                 [-v] [-w] [-l LOGFILE] [-C]

Monitoring tool to check local unread email presence

optional arguments:
  -h, --help            show this help message and exit
  -D SPOOL_DIR_PATH     Spool directory path (Default: /var/mail)
  -x EXCLUDE, --exclude EXCLUDE
                        Exclude one (or more) mailboxes from monitoring
  -d, --debug           Show debug messages
  -v, --verbose         Show verbose messages
  -w, --warning         Show warning messages
  -l LOGFILE, --logfile LOGFILE
                        Log file path
  -C, --console         Also log on console (even if log file is provided)

Copyright

Copyright (c) 2020 Easter-eggs, Benjamin Renard

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.