1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

New reporter module for Alerta

Adding a new reporter module largely inspired by the existing
``reportSlack`` to report events in Alerta (https://alerta.io/) via the
HTTP API.
This commit is contained in:
Mircea Ulinic
2020-01-07 12:52:13 +00:00
parent 5a06bc8338
commit d12335176b
5 changed files with 157 additions and 4 deletions

View File

@@ -129,7 +129,21 @@ reports:
# visibility: "++BGPalerter-5-${type}: ${summary}|${prefix}|${description}|${asn}|${earliest}|${latest}|${peers}"
# misconfiguration: "++BGPalerter-3-${type}: ${summary}|${asn}|${prefix}|${earliest}|${latest}"
# - file: reportAlerta
# channels:
# - hijack
# - newprefix
# - visibility
# - path
# - misconfiguration
# params:
# severity:
# hijack: 0
# newprefix: 2
# visibility: 4
# path: 7
# urls:
# default: _YOUR_ALERTA_API_URL_
############################
# Notification settings: