TIP: You can type at any time to perform a new search.
Dead man's switch (server)
dead_mans_switch_server · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Monitoring
- Folder size
- 0.64 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 07:03:09
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA), Therp BV
- Committers
- Holger Brunn, Pedro M. Baeza, Stéphane Bidoul (ACSONE), Weblate, OCA Transbot, oca-travis
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (7)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
form_dead_mans_switch_instance |
dead.mans.switch.instance | form | New | |
graph_dead_mans_switch_log |
dead.mans.switch.log | graph | New | |
kanban_dead_mans_switch_instance |
dead.mans.switch.instance | kanban | New | |
search_dead_mans_switch_instance |
dead.mans.switch.instance | search | New | |
search_dead_mans_switch_log |
dead.mans.switch.log | search | New | |
tree_dead_mans_switch_instance |
dead.mans.switch.instance | tree | New | |
tree_dead_mans_switch_log |
dead.mans.switch.log | tree | New |
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/dead_mans_switch/alive |
Main.alive |
none | json | ALL | sudo |
Models touched (2)
New fields (15)
-
aliveBooleancompute='_compute_alive'search='_search_alive' args: 'Alive' -
alive_max_delayIntegerdefault=600help='The amount of seconds without notice after which the instance is considered dead' args: 'Alive delay' -
database_uuidCharreadonly=Truerequired=True args: 'Database id' -
descriptionCharargs: 'Description' -
last_cpuFloatcompute='_compute_last_log' args: 'CPU' -
last_cpu_sparklineTextcompute='_compute_last_log' args: 'CPU' -
last_ramFloatcompute='_compute_last_log' args: 'RAM' -
last_ram_sparklineTextcompute='_compute_last_log' args: 'RAM' -
last_seenDatetimecompute='_compute_last_log' args: 'Last seen' -
last_user_countIntegercompute='_compute_last_log' args: 'Active users' -
last_user_count_sparklineTextcompute='_compute_last_log' args: 'Active users' -
log_idsOne2many → dead.mans.switch.logstring='Log lines' args: 'dead.mans.switch.log', 'instance_id' -
partner_idMany2one → res.partnerdomain=[('is_company', '=', True), ('customer', '=', True)] args: 'res.partner', 'Customer' -
stateSelectiondefault='new' args: [('new', 'New'), ('active', 'Active'), ('suspended', 'Suspended')], 'State' -
user_idMany2one → res.userstrack_visibility='onchange' args: 'res.users', 'Responsible user'
-
button_active(self)@api.multi -
button_logs(self)@api.multi -
button_suspended(self)@api.multi -
check_alive(self)@api.modelhandle cronjob -
name_get(self)@api.multi -
panic(self)@api.multioverride for custom handling
New fields (4)
-
cpuFloatgroup_operator='avg' args: 'CPU' -
instance_idMany2one → dead.mans.switch.instanceindex=True args: 'dead.mans.switch.instance', 'Instance' -
ramFloatgroup_operator='avg' args: 'RAM' -
user_countIntegergroup_operator='avg' args: 'Users logged in'
No public methods.