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:
parent
5c21290d01
commit
9a7bc6149d
1 changed files with 32 additions and 0 deletions
32
integrations/consul/README.md
Normal file
32
integrations/consul/README.md
Normal 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"
|
Loading…
Reference in a new issue