public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 00/12] statusmail: Status and Log Summary Emails
@ 2019-04-05 17:29 Tim FitzGeorge
  2019-04-05 17:29 ` [PATCH 01/12] statusmail: Main script Tim FitzGeorge
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Tim FitzGeorge @ 2019-04-05 17:29 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 5861 bytes --]

Sends user-definable email messages on a user-definable schedule. The
messages are PGP signed and optionally PGP encrypted.

To setup:

1 - Make sure mail service is configured and working
2 - Generate signing key and export
3 - Import signing key into email client's key manager
4 - (If necessary) generate key pair in email client
5 - Export public key from email client's key manager
6 - Import public key into Status Email WUI
7 - Check entered into contacts and tick box to enable
8 - Define schedule and tick box to enable.

It is possible to define a contact without a corresponding key, in which
case the email will be signed but not encrypted.

Multiple contacts can be selected for each schedule.
Only one of day of week and day of month need be set.
Many items have a parameter that allows the amount of data to be restricted.
If there's no data for an item it's omitted from the email; if there are no
items the email is not sent.  For example, setting an hourly schedule with
just ssh Errors and Logins enabled will only send an email if one of these
events occurs in the last hour.


*** BLURB HERE ***

Tim FitzGeorge (12):
  statusmail: Main script
  statusmail: Perl module for encrypted Encrypted Mail
  statusmail: WUI
  statusmail: Supporting files
  statusmail: Language files
  statusmail: Infrastructure files
  statusmail: Plugins for services
  statusmail: Plugins for system
  statusmail: Other plugins
  statusmail: Graph infrastructure changes
  statusmail: Plugin for apcupsd
  statusmail: Plugin for clamav

 config/backup/include                              |    3 +
 config/cfgroot/graphs.pl                           |  274 +++-
 config/menu/10-system.menu                         |    5 +
 config/rootfiles/common/misc-progs                 |    1 +
 config/rootfiles/common/statusmail                 |   22 +
 config/rootfiles/common/web-user-interface         |    2 +
 config/rootfiles/packages/apcupsd                  |    1 +
 config/rootfiles/packages/clamav                   |    1 +
 html/cgi-bin/entropy.cgi                           |    2 +-
 html/cgi-bin/statusmail.cgi                        | 1687 ++++++++++++++++++++
 html/html/images/play.png                          |  Bin 0 -> 182 bytes
 langs/de/cgi-bin/de.pl                             |    1 +
 langs/en/cgi-bin/en.pl                             |   94 ++
 langs/es/cgi-bin/es.pl                             |    1 +
 langs/fr/cgi-bin/fr.pl                             |   92 ++
 langs/it/cgi-bin/it.pl                             |    1 +
 langs/nl/cgi-bin/nl.pl                             |    1 +
 langs/pl/cgi-bin/pl.pl                             |    1 +
 langs/tr/cgi-bin/tr.pl                             |    1 +
 lfs/apcupsd                                        |    2 +-
 lfs/clamav                                         |    2 +-
 lfs/statusmail                                     |   71 +
 make.sh                                            |    2 +
 src/misc-progs/Makefile                            |    2 +-
 src/misc-progs/statusmailctrl.c                    |   36 +
 src/statusmail/EncryptedMail.pm                    | 1060 ++++++++++++
 src/statusmail/StatusMail.pm                       |  530 ++++++
 src/statusmail/generate_signature.sh               |   51 +
 src/statusmail/plugins/graphs.pm                   |  697 ++++++++
 src/statusmail/plugins/hardware_media_space.pm     |  154 ++
 src/statusmail/plugins/network_firewall.pm         |  357 +++++
 src/statusmail/plugins/services_clamav.pm          |  170 ++
 .../services_intrusion_prevention_system.pm        |  239 +++
 src/statusmail/plugins/services_ups_apc.pm         |  115 ++
 src/statusmail/plugins/services_urlfilter.pm       |  275 ++++
 src/statusmail/plugins/system_kernel.pm            |  322 ++++
 src/statusmail/plugins/system_pakfire.pm           |  198 +++
 src/statusmail/plugins/system_ssh.pm               |  186 +++
 src/statusmail/plugins/system_status_ps.pm         |  132 ++
 src/statusmail/plugins/system_status_services.pm   |  390 +++++
 src/statusmail/statusmail.pl                       |  422 +++++
 src/statusmail/statusmail.sh                       |    3 +
 src/statusmail/stylesheet.css                      |   30 +
 src/statusmail/test_plugin.pl                      |  541 +++++++
 44 files changed, 8099 insertions(+), 78 deletions(-)
 create mode 100644 config/rootfiles/common/statusmail
 create mode 100755 html/cgi-bin/statusmail.cgi
 create mode 100644 html/html/images/play.png
 create mode 100644 lfs/statusmail
 create mode 100644 src/misc-progs/statusmailctrl.c
 create mode 100644 src/statusmail/EncryptedMail.pm
 create mode 100644 src/statusmail/StatusMail.pm
 create mode 100755 src/statusmail/generate_signature.sh
 create mode 100644 src/statusmail/plugins/graphs.pm
 create mode 100644 src/statusmail/plugins/hardware_media_space.pm
 create mode 100644 src/statusmail/plugins/network_firewall.pm
 create mode 100644 src/statusmail/plugins/services_clamav.pm
 create mode 100644 src/statusmail/plugins/services_intrusion_prevention_system.pm
 create mode 100644 src/statusmail/plugins/services_ups_apc.pm
 create mode 100644 src/statusmail/plugins/services_urlfilter.pm
 create mode 100644 src/statusmail/plugins/system_kernel.pm
 create mode 100644 src/statusmail/plugins/system_pakfire.pm
 create mode 100644 src/statusmail/plugins/system_ssh.pm
 create mode 100644 src/statusmail/plugins/system_status_ps.pm
 create mode 100644 src/statusmail/plugins/system_status_services.pm
 create mode 100755 src/statusmail/statusmail.pl
 create mode 100755 src/statusmail/statusmail.sh
 create mode 100755 src/statusmail/stylesheet.css
 create mode 100755 src/statusmail/test_plugin.pl

-- 
2.16.4


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-04-08 19:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-05 17:29 [PATCH 00/12] statusmail: Status and Log Summary Emails Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 01/12] statusmail: Main script Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 02/12] statusmail: Perl module for encrypted Encrypted Mail Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 03/12] statusmail: WUI Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 04/12] statusmail: Supporting files Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 05/12] statusmail: Language files Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 06/12] statusmail: Infrastructure files Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 07/12] statusmail: Plugins for services Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 08/12] statusmail: Plugins for system Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 09/12] statusmail: Other plugins Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 10/12] statusmail: Graph infrastructure changes Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 11/12] statusmail: Plugin for apcupsd Tim FitzGeorge
2019-04-05 17:29 ` [PATCH 12/12] statusmail: Plugin for clamav Tim FitzGeorge
2019-04-08 16:10 ` [PATCH 00/12] statusmail: Status and Log Summary Emails Michael Tremer
2019-04-08 19:37   ` Tim FitzGeorge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox