Matrix Docker Ansible eploy
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.
 
 

190 lines
9.6 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2026, Slavi Pantaleev, Aine Etke, MDAD community members
  3. # This file is distributed under the same license as the matrix-docker-ansible-deploy package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  10. "Report-Msgid-Bugs-To: \n"
  11. "POT-Creation-Date: 2026-02-13 10:32+0000\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:9
  19. msgid "Setting up Prometheus Alertmanager integration via matrix-alertmanager-receiver (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:11
  22. msgid "The playbook can install and configure the [matrix-alertmanager-receiver](https://github.com/metio/matrix-alertmanager-receiver) service for you. It's a [client](https://prometheus.io/docs/alerting/latest/clients/) for Prometheus' [Alertmanager](https://prometheus.io/docs/alerting/latest/alertmanager/), allowing you to deliver alerts to Matrix rooms."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:13
  25. msgid "See the project's [documentation](https://github.com/metio/matrix-alertmanager-receiver/blob/main/README.md) to learn what it does and why it might be useful to you."
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:15
  28. msgid "This service is meant to be used with an external [Alertmanager](https://prometheus.io/docs/alerting/latest/alertmanager/) instance. It's **not** meant to be integrated with the [Prometheus & Grafana stack](./configuring-playbook-prometheus-grafana.md) installed by this playbook, because the Alertmanager component is not installed by it."
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:17
  31. msgid "Prerequisites"
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:19
  34. msgid "Register the bot account"
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:21
  37. msgid "This service uses a bot (with a username specified in `matrix_alertmanager_receiver_config_matrix_user_id_localpart`) for delivering messages."
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:23
  40. msgid "The playbook does not automatically create users for you. You **need to register the bot user manually** before setting up the bot."
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:25
  43. msgid "Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`."
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:27
  46. msgid "You can use the playbook to [register a new user](registering-users.md):"
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:33
  49. msgid "Obtain an access token"
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:35
  52. msgid "The bot requires an access token to be able to connect to your homeserver. Refer to the documentation on [how to obtain an access token](obtaining-access-tokens.md)."
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:37
  55. msgid "[!WARNING] Access tokens are sensitive information. Do not include them in any bug reports, messages, or logs. Do not share the access token with anyone."
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:40
  58. msgid "Join to rooms as the bot manually"
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:42
  61. msgid "ℹ️ **This bot does not accept room invitations automatically**. To deliver messages to rooms, the bot must be joined to all rooms manually."
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:44
  64. msgid "For each new room you would like the bot to deliver alerts to, invite the bot to the room."
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:46
  67. msgid "Then, log in as the bot using any Matrix client of your choosing, accept the room invitation from the bot's account, and log out."
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:48
  70. msgid "Adjusting DNS records (optional)"
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:50
  73. msgid "By default, this playbook installs matrix-alertmanager-receiver on the `matrix.` subdomain, at the `/matrix-alertmanager-receiver` path (https://matrix.example.com/matrix-alertmanager-receiver). This makes it easy to install it, because it **doesn't require additional DNS records to be set up**. If that's okay, you can skip this section."
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:52
  76. msgid "If you wish to adjust it, see the section [below](#adjusting-the-matrix-alertmanager-receiver-url-optional) for details about DNS configuration."
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:54
  79. msgid "Adjusting the playbook configuration"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:56
  82. msgid "Add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file. Make sure to replace `ACCESS_TOKEN_HERE` with the one created [above](#obtain-an-access-token)."
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:77
  85. msgid "Adjusting the matrix-alertmanager-receiver URL (optional)"
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:79
  88. msgid "By tweaking the `matrix_alertmanager_receiver_hostname` and `matrix_alertmanager_receiver_path_prefix` variables, you can easily make the service available at a **different hostname and/or path** than the default one."
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:81
  91. msgid "Example additional configuration for your `vars.yml` file:"
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:89
  94. msgid "If you've changed the default hostname, you may need to create a CNAME record for the matrix-alertmanager-receiver domain (`alertmanager.example.com`), which targets `matrix.example.com`."
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:91
  97. msgid "When setting, replace `example.com` with your own."
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:93
  100. msgid "Extending the configuration"
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:95
  103. msgid "There are some additional things you may wish to configure about the component."
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:97
  106. msgid "Take a look at:"
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:99
  109. msgid "`roles/custom/matrix-alertmanager-receiver/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  110. msgstr ""
  111. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:100
  112. msgid "`roles/custom/matrix-alertmanager-receiver/templates/config.yaml.j2` for the component's default configuration. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_alertmanager_receiver_configuration_extension_yaml` variable"
  113. msgstr ""
  114. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:102
  115. msgid "Installing"
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:104
  118. msgid "After configuring the playbook and potentially [adjusting your DNS records](#adjusting-dns-records), run the playbook with [playbook tags](playbook-tags.md) as below:"
  119. msgstr ""
  120. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:111
  121. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:113
  124. msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note these shortcuts run the `ensure-matrix-users-created` tag too."
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:115
  127. msgid "Usage"
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:117
  130. msgid "Configure your Prometheus Alertmanager with configuration like this:"
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:136
  133. msgid "where `URL_HERE` looks like `https://matrix.example.com/matrix-alertmanager-receiver-RANDOM_VALUE_HERE/alert/some-room-name` or `https://matrix.example.com/matrix-alertmanager-receiver-RANDOM_VALUE_HERE/alert/!qporfwt:example.com`."
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:138
  136. msgid "Troubleshooting"
  137. msgstr ""
  138. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:140
  139. msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-alertmanager-receiver`."
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:142
  142. msgid "Increase logging verbosity"
  143. msgstr ""
  144. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:144
  145. msgid "The default logging level for this component is `info`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook:"
  146. msgstr ""