0
0
Fork 0
mirror of https://github.com/alerta/alerta-contrib.git synced 2025-03-18 06:12:51 +00:00

added readme

This commit is contained in:
root 2016-06-09 09:55:13 +00:00
parent 5c21290d01
commit 9a7bc6149d

View file

@ -0,0 +1,32 @@
Consul
==========
Trigger alerts based on [consul][1]. health checks
Requirements:
[consul][1]
[consul-alerts][2]
Installation
------------
copy script to somewhere accessible by consul-alerts, make sure its executable
Configuration
-------------
define these keys in consul KV store:
consul-alerts/config/notifiers/custom/alerta:<path>/consul-alerta.py
alerta/apikey:'api-key' // alerta key for api access
alerta/apiurl:'api-url' // alerta api url
alerta/timeout:5 // item timeout in alerta (default 86400)
alerta/max_retries:3 // max api attempts
alerta/sleep:2 // sleep between attemps
alerta/origin:consul // alert origin
alerta/alerttype:ConsulAlerts // alert type
[1]: <https://github.com/hashicorp/consul> "Consul"
[2]: <https://github.com/AcalephStorage/consul-alerts> "Consul-Alerts"