1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00
Files
nttgin-BGPalerter/config.yml
2019-07-10 18:07:55 +02:00

59 lines
1.4 KiB
YAML

environment: production
connectors:
- file: connectorRIS
name: ris
params:
carefulSubscription: false
url: wss://ris-live.ripe.net/v1/ws/
subscription:
moreSpecific: true
type: UPDATE
host:
socketOptions:
includeRaw: false
monitors:
- file: monitorHijack
channel: hijack
name: basic-hijack-detection
- file: monitorNewPrefix
channel: newprefix
name: prefix-detection
- file: monitorVisibility
channel: visibility
name: withdrawal-detection
params:
threshold: 0
reports:
- file: reportFile
channels:
- hijack
- newprefix
- visibility
-
- file: ReportEmail
channels:
- hijack
- newprefix
- visibility
checkStaleNotificationsSeconds: 60
notificationIntervalSeconds: 1800 # Repeat the same alert (which keeps being triggered) after x seconds
clearNotificationQueueAfterSeconds: 1900 # Stop with the alert for an event which didn't happen again in x seconds
# The file containing the monitored prefixes. Please see monitored_prefixes_test.yml for an example
# This is an array (use new lines and dashes!)
monitoredPrefixesFiles:
- prefixes.yml
logging:
directory: logs
logRotatePattern: YYYY-MM-DD # Whenever the pattern changes, a new file is created and the old one rotated
zippedArchive: true
maxSize: 20m
maxFiles: 14d