TIP: You can type at any time to perform a new search.
Server Monitoring
server_monitoring · OCA/server-tools
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
ClassInstanceCount— Class 'ClassInstanceCount' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceClassInstanceCount— Class 'ClassInstanceCount' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceIrCron— Class 'IrCron' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceModelRowCount— Class 'ModelRowCount' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceModelRowCount— Class 'ModelRowCount' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceModelTableActivityRead— Class 'ModelTableActivityRead' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceModelTableActivityRead— Class 'ModelTableActivityRead' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceModelTableActivityUpdate— Class 'ModelTableActivityUpdate' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceModelTableActivityUpdate— Class 'ModelTableActivityUpdate' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceModelTableSize— Class 'ModelTableSize' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceModelTableSize— Class 'ModelTableSize' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceServerMonitorDatabase— Class 'ServerMonitorDatabase' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceServerMonitorDatabase— Class 'ServerMonitorDatabase' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceServerMonitorDatabase— Class 'ServerMonitorDatabase' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceServerMonitorProcess— Class 'ServerMonitorProcess' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceServerMonitorProcess— Class 'ServerMonitorProcess' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceServerMonitorProcess— Class 'ServerMonitorProcess' declares `_defaults` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceserver_monitor_database_tree_view— View 'server_monitor_database_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceserver_monitor_model_row_count_tree_view— View 'server_monitor_model_row_count_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceserver_monitor_model_table_activity_read_tree_view— View 'server_monitor_model_table_activity_read_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceserver_monitor_model_table_activity_update_tree_view— View 'server_monitor_model_table_activity_update_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceserver_monitor_model_table_size_tree_view— View 'server_monitor_model_table_size_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · sourceserver_monitor_process_tree_view— View 'server_monitor_process_tree_view' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 0.1
- Category
- Tools
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 06:56:12
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Alexandre Fayolle, Sylvain LE GAL
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)