Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 129 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 7.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 16 migration notes 8 models 13 views 0 HTTP endpoints

Description

Server Monitoring

This module allows in-database logging of some statistics in order to monitor the health of an openerp instance.

Database indicators are logged (number of rows, table size, number of reads, number of updates...), with a cron running each week by default. This cron needs to be activated after the module is installed.

Some process indicators are logged (cpu time, memory) together with information about the different XMLRPC calls made to the server (user, model, method).

Two crons are provided to cleanup old logs from the database.

The logs are available through the menu Reporting -> Server Monitoring.

Dependencies

Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 13

XML IDNameModelTypeStatus
server_monitor_database_form_view Server Monitor Database tree view server.monitor.database form New
server_monitor_database_tree_view Server Monitor Database form view server.monitor.database tree New
server_monitor_model_row_count_search_view Server Monitor model row count search view server.monitor.model.row.count search New
server_monitor_model_row_count_tree_view Server Monitor model row count tree view server.monitor.model.row.count tree New
server_monitor_model_table_activity_read_search_view Server Monitor table activity updates search view server.monitor.model.table.activity.read search New
server_monitor_model_table_activity_read_tree_view Server Monitor table activity tree view server.monitor.model.table.activity.read tree New
server_monitor_model_table_activity_update_search_view Server Monitor table activity updates search view server.monitor.model.table.activity.update search New
server_monitor_model_table_activity_update_tree_view Server Monitor table activity updates tree view server.monitor.model.table.activity.update tree New
server_monitor_model_table_size_search_view Server Monitor model table size search view server.monitor.model.table.size search New
server_monitor_model_table_size_tree_view Server Monitor model table size tree view server.monitor.model.table.size tree New
server_monitor_process_form_view Server Monitor Process form view server.monitor.process form New
server_monitor_process_search_view Server Monitor Process search view server.monitor.process search New
server_monitor_process_tree_view Server Monitor Process tree view server.monitor.process tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 8

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • cleanup(self, cr, uid, age, context=None)
  • log_measure(self, cr, uid, context=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • cleanup(self, cr, uid, age, context=None)
  • log_measure(self, cr, uid, model_name, method_name, info, with_class_count=True, gc_collect=True, context=None)