Repository
OCA/server-tools · module folder · Try on Runboat
Module version
1.0.0
Category
Extra Tools
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/server-tools
Last tracking update
2026-08-07 07:57:06
Authors
Odoo Community Association (OCA), initOS GmbH
Maintainers
Odoo Community Association (OCA), initOS GmbH
Committers
fkantelberg, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_monitoring_form monitoring form New
view_monitoring_script_form monitoring.script form New
view_monitoring_script_tree monitoring.script tree New
view_monitoring_tree monitoring tree New
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/monitoring/<string:token> MonitoringHome.monitoring none http ALL sudo
Models touched (2)

New fields (8)
  • active Boolean
    default=True
  • mail_sent Boolean
  • mail_template_id Many2one → mail.template
    domain=[('model', '=', 'monitoring')] help='Set a mail template to send a mail if the state is warning or critical.' args: 'mail.template'
  • name Char
  • script_ids Many2many → monitoring.script
    args: 'monitoring.script'
  • state Selection
    compute='_compute_state' default='unknown' args: '_get_states'
  • token Char
    copy=False default=<expr> help='Token to use for the API' readonly=True
  • verbose Boolean
    help='Send the information about all scripts'
Public methods (3)
  • action_validate(self)
  • cron_validate(self, send_mail=True)
  • validate(self, send_mail=False)

New fields (9)
  • active Boolean
    default=True
  • check_type Selection
    help='`Expect False` .. The result must be False to be not critical\n`Expect True` .. The result must be True to be not critical\n`Expect Lower` .. The result must be lower than the thresholds\n`Expect Higher` .. The result must be higher than the thresholds\n' required=True args: '_get_types'
  • critical Float
    help='Threshold for critical'
  • monitoring_ids Many2many → monitoring
    args: 'monitoring'
  • name Char
    required=True
  • snippet Text
    help='Monitoring script. Put the result into the variable `result`. With `env` you get an extra environment with OdooBot access levels.' required=True
  • state Selection
    args: '_get_states'
  • token Char
    copy=False default=<expr> help='Token to use for the API' readonly=True
  • warning Float
    help='Threshold for warning'
Public methods (1)
  • validate(self, verbose=False)