Feature #3377

Task #3374: Migrate all core modules from legacy Mentat

Implement mentat-informant.py module

Added by Jan Mach about 2 years ago. Updated 9 months ago.

Status:ClosedStart date:03/22/2017
Priority:NormalDue date:
Assignee:Jan Mach% Done:

100%

Category:Development - Core
Target version:2.0

Description

Migrate, redesign and implement periodical system performance and reporting briefing module. Send information about number of generated reports, overall event statistics, etc.

Associated revisions

Revision 24e5ea11
Added by Jan Mach about 1 year ago

Implemented the mentat-informant.py module (previously mentat-briefer).

The mentat-informant.py module is a Python replacement for previous mentat-briefer.py module. It is designed to provide periodical statistical overviews via email. The email reports are localized using babel package and can be translated into any language. Additionally, the reporting engine uses Jinja2 templating system for message rendering, so it enables very easy customization. (Redmine issue: #3377)

Revision 1105009b
Added by Jan Mach 9 months ago

Moved the report type header from event report email class to base report email class.

(Redmine issue: #3377)

Revision 57f93b42
Added by Jan Mach 9 months ago

Added support for Return-Path email header to base report email class.

(Redmine issue: #3377,#3378)

Revision 045a54b2
Added by Jan Mach 9 months ago

Feature: Added event reporting statistics to mentat-informant.py and done big overhaul of the whole module.

The mentat-informant.py module was redesigned to the liking of mentat-reporter.py module in terms of configuration options and general code design. The event reporting statistics section was added to the report emails to inform recipients, well, about event reporting statistics. (Redmine issue: #3377)

Revision 1b4272df
Added by Jan Mach 9 months ago

Fix: Added missing endfor into Jinja2 template.

(Redmine issue: #3377)

Revision d7ab3a19
Added by Jan Mach 9 months ago

Fix: Fixed invalid variable name in Jinja2 template.

(Redmine issue: #3377)

Revision a00ddfae
Added by Jan Mach 9 months ago

Fix: Changed type of table cells and therefore alignment of cell content.

(Redmine issue: #3377)

History

#1 Updated by Jan Mach over 1 year ago

  • Status changed from New to Feedback
  • Assignee changed from Jan Mach to Pavel Kácha

Since there is not much of a difference between the mentat-statistician.py module and this module, it would make sense to incorporate the briefing functionality into mentat-statistician.py module into separate subcommand. The statistician is already capable of calculating statistics for given time period and storing them into database, there is no reason why it should not be capable of sending the statistics also by email.

#2 Updated by Jan Mach about 1 year ago

  • Subject changed from Implement mentat-briefer.py module to Implement mentat-informant.py module
  • Status changed from Feedback to In Progress
  • Assignee changed from Pavel Kácha to Jan Mach

The mentat-briefer module from legacy Perl Mentat was renamed to mentat-informant.py.

#3 Updated by Jan Mach 9 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Current state of this module is sufficient for production environment. We are finally releasing 2.0 version of Mentat system, so the period of frantic coding and implementation chaos is over. Any further improvements of this module will be done as they should in separate Redmine issues.

Also available in: Atom PDF