Karma

提供: ArchWiki
2022年7月31日 (日) 09:25時点におけるKusanaginoturugi (トーク | 投稿記録)による版 (英語版より新規作成)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

Karma is an alert dashboard for Alertmanager. It allows the aggregation and deduplication of alerts, as well as the possibility of silencing alerts.

Installation

Install the karma-dashboardAUR or karma-dashboard-binAUR package.

Configuration

Karma configuration is done by editing /etc/karma/karma.yml and starting karma.service.

Changing alertmanager protocol, address and port

The default configuration assumes that alertmanager runs on http://localhost:9093. Change the uri parameter to match your configuration.

/etc/karma/karma.yml
alertmanager:
  interval: 1m
  servers:
    - name: production
      uri: ALERTMANAGER_PROTOCOL://ALERTMANAGER_ADDRESS:ALERTMANAGER_PORT/
      timeout: 20s
      proxy: false
      readonly: true
ノート: Supported ALERTMANAGER_PROTOCOL values are http and https.

Changing listening address and port

You may want to change the default address and port on which karma listens. To do so, edit /etc/karma/karma.yml and add the following parameters:

/etc/karma/karma.yml
listen:
  address: KARMA_ADDRESS
  port: KARMA_PORT
ノート: More configuration parameters can be found in upstream documentation.

Starting karma

After starting and enabling karma.service, the application can be reached via HTTP on localhost:8080 by default.

See also