Repository
OCA/server-tools · module folder · Try on Runboat
Module version
1.0.2
Category
Tools
Folder size
0.24 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/server-tools
Last tracking update
2026-08-07 08:09:23
Authors
Odoo Community Association (OCA), ABF OSIELL
Maintainers
Odoo Community Association (OCA), ABF OSIELL
Committers
Weblate, OCA-git-bot, Tom, oca-ci, Kevin Luna, Luis Rodriguez
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
nsca-client
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_nsca_check_form nsca.check.form nsca.check form New
view_nsca_check_tree nsca.check.tree nsca.check tree New
view_nsca_server_form nsca.server.form nsca.server form New
view_nsca_server_tree nsca.server.tree nsca.server tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (7)
  • allow_void_result Boolean
    default=False help='By default, a CRITICAL message is sent if the method does not return.\nIf checked, no message will be sent in such a case.' args: 'Allow void result'
  • cron_id Many2one → ir.cron
    ondelete='cascade' readonly=True required=True string='Cron' args: 'ir.cron'
  • nsca_args Char
    args: 'Arguments'
  • nsca_function Char
    args: 'Method'
  • nsca_model Char
    args: 'NSCA Model'
  • server_id Many2one → nsca.server
    required=True string='Server' args: 'nsca.server'
  • service Char
    required=True
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • default_get(self, fields_list)
    @api.model
    Set some default values on the fly, without overriding fields (which has the side effect to re-create the fields on the current model).
  • write(self, vals)

New fields (9)
  • check_count Integer
    compute='_compute_check_count'
  • check_ids One2many → nsca.check
    string='Checks' args: 'nsca.check', 'server_id'
  • config_dir_path Char
    compute='_compute_config_dir_path' args: 'Configuration directory'
  • config_file_path Char
    compute='_compute_config_file_path' args: 'Configuration file'
  • encryption_method Selection
    default='1' required=True selection='_selection_encryption_method' string='Encryption method'
  • name Char
    required=True args: 'Hostname'
  • node_hostname Char
    help='This is the hostname of the current Odoo node declared in the monitoring server.' required=True args: 'Hostname of this node'
  • password Char
  • port Integer
    default=5667 required=True
Public methods (5)
  • create(self, vals_list)
    @api.model_create_multi
  • current_status(self)
    @api.model
  • show_checks(self)
  • write(self, vals)
  • write_config_file(self)

Loading…

Loading…

Loading…

Loading…