TIP: You can type at any time to perform a new search.
Monitoring
monitoring · OCA/server-tools
- 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
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/monitoring/<string:token> |
MonitoringHome.monitoring |
none | http | ALL | sudo |
Models touched (2)
New fields (8)
-
activeBooleandefault=True -
mail_sentBoolean -
mail_template_idMany2one → mail.templatedomain=[('model', '=', 'monitoring')]help='Set a mail template to send a mail if the state is warning or critical.' args: 'mail.template' -
nameChar -
script_idsMany2many → monitoring.scriptargs: 'monitoring.script' -
stateSelectioncompute='_compute_state'default='unknown' args: '_get_states' -
tokenCharcopy=Falsedefault=<expr>help='Token to use for the API'readonly=True -
verboseBooleanhelp='Send the information about all scripts'
-
action_validate(self) -
cron_validate(self, send_mail=True) -
validate(self, send_mail=False)
New fields (9)
-
activeBooleandefault=True -
check_typeSelectionhelp='`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' -
criticalFloathelp='Threshold for critical' -
monitoring_idsMany2many → monitoringargs: 'monitoring' -
nameCharrequired=True -
snippetTexthelp='Monitoring script. Put the result into the variable `result`. With `env` you get an extra environment with OdooBot access levels.'required=True -
stateSelectionargs: '_get_states' -
tokenCharcopy=Falsedefault=<expr>help='Token to use for the API'readonly=True -
warningFloathelp='Threshold for warning'
-
validate(self, verbose=False)