You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
3.2 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. ==========================
  4. Dead man's switch (server)
  5. ==========================
  6. This module receives status messages by `dead_mans_switch_client` and notifies
  7. you if a client instance didn't check back in time.
  8. As a side effect, you'll also get some statistical data from your client
  9. instances.
  10. Usage
  11. =====
  12. Install `dead_mans_switch_client` on a customer instance and configure it as
  13. described in that module's documentation. The clients will register themselves
  14. with the server automatically. They will show up with their database uuid,
  15. you'll have to assign a human readable description yourself.
  16. At this point, you can assign a customer to this client instance for reporting
  17. purposes, and, more important, add followers to the instance. They will be
  18. notified in case the instance doesn't check back in time. Notification are only
  19. turned on for instances in state 'active', instances in states 'new' or
  20. 'suspended' will be ignored.
  21. You'll find the instances' current state at Reporting/Customer instances.
  22. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  23. :alt: Try me on Runbot
  24. :target: https://runbot.odoo-community.org/runbot/149/8.0
  25. For further information, please visit:
  26. * https://www.odoo.com/forum/help-1
  27. Security considerations
  28. =======================
  29. As the controller receiving status updates is unauthenticated, any internet user
  30. can have your server create monitoring instance records. While this is annoying,
  31. it's quite harmless and basically the same as misuse of the fetchmail module.
  32. For a more substantial annoyance, the attacker would have to guess one of your
  33. client's database uuids, so they functionally are your passwords.
  34. To be sure, consider blocking this controller from unknown origins in your SSL
  35. proxy. In nginx, it would look like this::
  36. location /dead_mans_switch/alive {
  37. allow 192.168.1.0/24;
  38. # add other client's IPs
  39. deny all;
  40. }
  41. Known issues / Roadmap
  42. ======================
  43. * matching is done via the database's uuid, so take care to change this if you
  44. clone a database
  45. * logging some postgres stats and disk usage would be nice too
  46. Bug Tracker
  47. ===========
  48. Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
  49. In case of trouble, please check there if your issue has already been reported.
  50. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  51. `here <https://github.com/OCA/server-tools/issues/new?body=module:%20dead_mans_switch_server%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  52. Credits
  53. =======
  54. Contributors
  55. ------------
  56. * Holger Brunn <hbrunn@therp.nl>
  57. Maintainer
  58. ----------
  59. .. image:: https://odoo-community.org/logo.png
  60. :alt: Odoo Community Association
  61. :target: https://odoo-community.org
  62. This module is maintained by the OCA.
  63. OCA, or the Odoo Community Association, is a nonprofit organization whose
  64. mission is to support the collaborative development of Odoo features and
  65. promote its widespread use.
  66. To contribute to this module, please visit http://odoo-community.org.