项目作者: gregdhill

项目描述 :
Prometheus Alertmanager to Cachet
高级语言: Go
项目地址: git://github.com/gregdhill/prometheus-cachet.git
创建时间: 2019-01-03T14:38:07Z
项目社区:https://github.com/gregdhill/prometheus-cachet

开源协议:MIT License

下载


Prometheus Alerts to Cachet

Small go based microservice to receive Prometheus Alertmanager triggers and update corresponding incidents in Cachet.

Dependencies

Alertmanager Hook

The following alert matches on label public set to true then forwards to the configured webhook:

  1. route:
  2. receiver: cachet
  3. group_by: [alertname]
  4. group_wait: 30s
  5. group_interval: 1m
  6. repeat_interval: 1h
  7. routes:
  8. - receiver: cachet
  9. match:
  10. public: "true"
  11. receivers:
  12. - name: cachet
  13. webhook_configs:
  14. - url: "http://status-cachet:80/webhook"