Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

202 linhas
9.8 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2025-01-27 09:54+0200\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: jp\n"
  17. "Language-Team: jp <LL@li.org>\n"
  18. "MIME-Version: 1.0\n"
  19. "Content-Type: text/plain; charset=utf-8\n"
  20. "Content-Transfer-Encoding: 8bit\n"
  21. "Generated-By: Babel 2.16.0\n"
  22. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:1
  23. msgid "Setting up Prometheus Alertmanager integration via matrix-alertmanager-receiver (optional)"
  24. msgstr ""
  25. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:3
  26. 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."
  27. msgstr ""
  28. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:5
  29. 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."
  30. msgstr ""
  31. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:7
  32. 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."
  33. msgstr ""
  34. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:9
  35. msgid "Prerequisites"
  36. msgstr ""
  37. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:11
  38. msgid "Register the bot account"
  39. msgstr ""
  40. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:13
  41. msgid "This service uses a bot (with a username specified in `matrix_alertmanager_receiver_config_matrix_user_id_localpart`) for delivering messages."
  42. msgstr ""
  43. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:15
  44. msgid "The playbook does not automatically create users for you. You **need to register the bot user manually** before setting up the bot."
  45. msgstr ""
  46. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:17
  47. msgid "Generate a strong password for the bot. You can create one with a command like `pwgen -s 64 1`."
  48. msgstr ""
  49. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:19
  50. msgid "You can use the playbook to [register a new user](registering-users.md):"
  51. msgstr ""
  52. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:25
  53. msgid "Obtain an access token"
  54. msgstr ""
  55. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:27
  56. 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)."
  57. msgstr ""
  58. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:29
  59. 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."
  60. msgstr ""
  61. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:32
  62. msgid "Join to rooms as the bot manually"
  63. msgstr ""
  64. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:34
  65. msgid "ℹ️ **This bot does not accept room invitations automatically**. To deliver messages to rooms, the bot must be joined to all rooms manually."
  66. msgstr ""
  67. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:36
  68. msgid "For each new room you would like the bot to deliver alerts to, invite the bot to the room."
  69. msgstr ""
  70. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:38
  71. 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."
  72. msgstr ""
  73. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:40
  74. msgid "Adjusting DNS records (optional)"
  75. msgstr ""
  76. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:42
  77. 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."
  78. msgstr ""
  79. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:44
  80. msgid "If you wish to adjust it, see the section [below](#adjusting-the-matrix-alertmanager-receiver-url-optional) for details about DNS configuration."
  81. msgstr ""
  82. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:46
  83. msgid "Adjusting the playbook configuration"
  84. msgstr ""
  85. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:48
  86. 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)."
  87. msgstr ""
  88. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:69
  89. msgid "Adjusting the matrix-alertmanager-receiver URL (optional)"
  90. msgstr ""
  91. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:71
  92. 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."
  93. msgstr ""
  94. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:73
  95. msgid "Example additional configuration for your `vars.yml` file:"
  96. msgstr ""
  97. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:81
  98. 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`."
  99. msgstr ""
  100. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:83
  101. msgid "When setting, replace `example.com` with your own."
  102. msgstr ""
  103. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:85
  104. msgid "Extending the configuration"
  105. msgstr ""
  106. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:87
  107. msgid "There are some additional things you may wish to configure about the component."
  108. msgstr ""
  109. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:89
  110. msgid "Take a look at:"
  111. msgstr ""
  112. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:91
  113. msgid "`roles/custom/matrix-alertmanager-receiver/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  114. msgstr ""
  115. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:92
  116. 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"
  117. msgstr ""
  118. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:94
  119. msgid "Installing"
  120. msgstr ""
  121. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:96
  122. 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:"
  123. msgstr ""
  124. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:103
  125. msgid "**Notes**:"
  126. msgstr ""
  127. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:105
  128. msgid "The `ensure-matrix-users-created` playbook tag makes the playbook automatically create the bot's user account."
  129. msgstr ""
  130. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:107
  131. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  132. msgstr ""
  133. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:109
  134. 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."
  135. msgstr ""
  136. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:111
  137. msgid "Usage"
  138. msgstr ""
  139. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:113
  140. msgid "Configure your Prometheus Alertmanager with configuration like this:"
  141. msgstr ""
  142. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:132
  143. 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`."
  144. msgstr ""
  145. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:134
  146. msgid "Troubleshooting"
  147. msgstr ""
  148. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:136
  149. 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`."
  150. msgstr ""
  151. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:138
  152. msgid "Increase logging verbosity"
  153. msgstr ""
  154. #: ../../../docs/configuring-playbook-alertmanager-receiver.md:140
  155. 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:"
  156. msgstr ""