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

58 lines
1.3 KiB
YAML
Raw Normal View History

2019-07-09 02:46:08 +02:00
environment: test
connectors:
- file: connectorTest
name: tes
params:
testType: withdrawal
monitors:
- file: monitorHijack
channel: hijack
name: basic-hijack-detection
params:
thresholdMinPeers: 0
2019-07-09 02:46:08 +02:00
- file: monitorNewPrefix
channel: newprefix
name: prefix-detection
params:
thresholdMinPeers: 0
2019-07-09 02:46:08 +02:00
- file: monitorVisibility
channel: visibility
name: withdrawal-detection
params:
thresholdMinPeers: 4
2019-07-09 02:46:08 +02:00
- file: monitorPath
channel: path
name: path-matching
params:
thresholdMinPeers: 0
2019-07-09 02:46:08 +02:00
reports:
- file: reportFile
channels:
- hijack
- newprefix
- visibility
- path
2019-07-09 02:46:08 +02:00
notificationIntervalSeconds: 1800 # Repeat the same alert (which keeps being triggered) after x seconds
alertOnlyOnce: false
2019-07-09 02:46:08 +02:00
# 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:
- tests/prefixes.test.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
checkForUpdatesAtBoot: true