Jump to content

Karma

From ArchWiki

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
Note: 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
Note: 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