コンテンツにスキップ

「Karma」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
英語版より新規作成
 
Kgx (トーク | 投稿記録)
 
(3人の利用者による、間の5版が非表示)
1行目: 1行目:
[[Category:ネットワーク監視]]
[[Category:ネットワーク監視]]
[[Category:ウェブアプリケーション]]
[[Category:ウェブアプリケーション]]
[[en:Karma]]
[https://karma-dashboard.io/ Karma] is an alert dashboard for [[Prometheus#Alerting|Alertmanager]]. It allows the aggregation and deduplication of alerts, as well as the possibility of silencing alerts.
[https://karma-dashboard.io/ Karma] は [[Prometheus#Alerting|Alertmanager]] のアラート ダッシュボードです。これにより、アラートの集約と重複排除、およびアラートのサイレンシングが可能になります。


== Installation ==
== インストール ==


[[Install]] the {{AUR|karma-dashboard}} or {{AUR|karma-dashboard-bin}} package.
{{AUR|karma-dashboard}} または {{AUR|karma-dashboard-bin}} パッケージを[[インストール]]します。


== Configuration ==
== 設定 ==


Karma configuration is done by editing {{ic|/etc/karma/karma.yml}} and [[starting]] {{ic|karma.service}}.
Karma の設定は、{{ic|/etc/karma/karma.yml}} を編集して、{{ic|karma.service}} を[[開始]]することによって行います。


=== Changing alertmanager protocol, address and port ===
=== alertmanager プロトコル、アドレス、ポートの変更 ===


The default configuration assumes that ''alertmanager'' runs on {{ic|<nowiki>http://localhost:9093</nowiki>}}.
デフォルトの設定では、''alertmanager'' {{ic|<nowiki>http://localhost:9093</nowiki>}} で動作していると仮定されています。{{ic|uri}} パラメータを変更して、設定を変更してください。
Change the {{ic|uri}} parameter to match your configuration.


{{hc|/etc/karma/karma.yml|2=
{{hc|/etc/karma/karma.yml|2=
27行目: 27行目:
}}
}}


{{Note|Supported ''ALERTMANAGER_PROTOCOL'' values are {{ic|http}} and {{ic|https}}.}}
{{Note|サポートされている ''ALERTMANAGER_PROTOCOL'' 値は {{ic|http}} {{ic|https}} です。}}


=== リスニングアドレスとポートの変更 ===
=== Changing listening address and port ===


karmaがリッスンするデフォルトのアドレスとポートを変更したい場合があります。そのためには、{{ic|/etc/karma/karma.yml}} を編集して、以下のパラメータを追加します。
You may want to change the default address and port on which karma listens. To do so, edit {{ic|/etc/karma/karma.yml}} and add the following parameters:


{{hc|/etc/karma/karma.yml|2=
{{hc|/etc/karma/karma.yml|2=
39行目: 39行目:
}}
}}


{{Note|More configuration parameters can be found in [https://github.com/prymitive/karma/blob/main/docs/CONFIGURATION.md upstream documentation].}}
{{Note|その他の設定パラメータは、[https://github.com/prymitive/karma/blob/main/docs/CONFIGURATION.md 上流のドキュメント]に記載されています。}}


== Starting karma ==
== karma の開始 ==


After [[starting]] and [[enabling]] {{ic|karma.service}}, the application can be reached ''via'' HTTP on {{ic|localhost:8080}} by default.
{{ic|karma.service}} を[[開始]]して[[有効化]]すると、デフォルトで {{ic|localhost:8080}} でアプリケーションにアクセスできるようになります。


== See also ==
== 参照 ==


* [https://karma-dashboard.io/ Karma official page]
* [https://karma-dashboard.io/ Karma official page]
* [https://github.com/prymitive/karma Karma Github page]
* [https://github.com/prymitive/karma Karma Github page]

{{TranslationStatus|Karma|2022-08-01|739656}}

2024年3月26日 (火) 22:05時点における最新版

KarmaAlertmanager のアラート ダッシュボードです。これにより、アラートの集約と重複排除、およびアラートのサイレンシングが可能になります。

インストール

karma-dashboardAUR または karma-dashboard-binAUR パッケージをインストールします。

設定

Karma の設定は、/etc/karma/karma.yml を編集して、karma.service開始することによって行います。

alertmanager プロトコル、アドレス、ポートの変更

デフォルトの設定では、alertmanagerhttp://localhost:9093 で動作していると仮定されています。uri パラメータを変更して、設定を変更してください。

/etc/karma/karma.yml
alertmanager:
  interval: 1m
  servers:
    - name: production
      uri: ALERTMANAGER_PROTOCOL://ALERTMANAGER_ADDRESS:ALERTMANAGER_PORT/
      timeout: 20s
      proxy: false
      readonly: true
ノート サポートされている ALERTMANAGER_PROTOCOL 値は httphttps です。

リスニングアドレスとポートの変更

karmaがリッスンするデフォルトのアドレスとポートを変更したい場合があります。そのためには、/etc/karma/karma.yml を編集して、以下のパラメータを追加します。

/etc/karma/karma.yml
listen:
  address: KARMA_ADDRESS
  port: KARMA_PORT
ノート その他の設定パラメータは、上流のドキュメントに記載されています。

karma の開始

karma.service開始して有効化すると、デフォルトで localhost:8080 でアプリケーションにアクセスできるようになります。

参照

翻訳ステータス: このページは en:Karma の翻訳バージョンです。最後の翻訳日は 2022-08-01 です。もし英語版に 変更 があれば、翻訳の同期を手伝うことができます。