Monitoring

monitoring
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/15.0/monitoring
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYExtra Tools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), initOS GmbH
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), initOS GmbH
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, fkantelberg
WEBSITE
WEBSITEhttps://github.com/OCA/server-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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
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)