Server Monitoring

server_monitoring
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/7.0/server_monitoring
VERSION
VERSION 0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAlexandre Fayolle, Sylvain LE GAL
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Code Analysis

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
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)