Skip to content
Health
41/100
poor
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 34 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 15.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.05 MB
Module directory on disk
Code analysis 6 migration notes 2 models 4 views 1 HTTP endpoint

Description

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
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 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)