Skip to the content.

Prometheus-CachetHQ

CircleCI Go Report Card GolangCI Coverage Status Docker Pulls GitHub license GitHub release (latest by date)

Prometheus alerts to CachetHQ

Features

Configuration

See here: Configuration

Setup

Prometheus Alertmanager

Just put a new receiver in your alertmanager configuration:

route:
  ...
  receivers:
  - name: cachethq-receiver
    webhook_configs:
    - url: http://prometheus-cachet-domain:8080/prometheus/webhook
      send_resolved: true

Add also a new route to send alert to prometheus-cachethq:

route:
  ...
    routes:
    - receiver: cachethq-receiver
      continue: true
      # match: ...

Deploy

Configuration

See configuration values here

Kubernetes - Helm

A helm chart have been created to deploy this in a Kubernetes cluster.

You can find it here: https://github.com/oxyno-zeta/helm-charts/tree/master/stable/prometheus-cachethq

Docker

First, write the configuration file in a config folder. That one will be mounted.

Run this command:

docker run -d --name prometheus-cachethq -p 8080:8080 -p 9090:9090 -v $PWD/config:/config oxynozeta/prometheus-cachethq

Thanks

Author

License

Apache 2.0 (See in LICENSE)