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

95 lines
2.0 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-11-28 15:49:06 +01:00
- file: monitorAS
channel: misconfiguration
name: asn-monitor
params:
2019-11-28 19:14:01 +01:00
thresholdMinPeers: 2
2019-11-28 15:49:06 +01:00
2020-04-28 15:35:26 +02:00
- file: monitorRPKI
2020-04-28 22:36:16 +02:00
channel: rpki
2020-04-28 15:35:26 +02:00
name: rpki-monitor
params:
thresholdMinPeers: 1
preCacheROAs: false
checkUncovered: true
2019-07-09 02:46:08 +02:00
reports:
- file: reportFile
channels:
- hijack
- newprefix
- visibility
- path
2019-11-28 15:49:06 +01:00
- misconfiguration
2020-04-28 22:36:16 +02:00
- rpki
2020-01-18 15:14:36 +01:00
params:
persistAlertData: false
alertDataDirectory: alertdata/
2020-01-09 18:33:28 +01:00
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:
2020-06-28 20:38:33 +02:00
- prefixes.test.yml
2019-07-09 02:46:08 +02:00
logging:
directory: logs
2020-01-18 15:14:36 +01:00
logRotatePattern: YYYY-MM-DD # Whenever the pattern changes, a new file is created and the old one rotated
backlogSize: 1
maxRetainedFiles: 10
maxFileSizeMB: 15
compressOnRotation: true
checkForUpdatesAtBoot: true
2020-06-28 03:15:21 +02:00
persistStatus: true
2020-06-28 20:38:33 +02:00
volume: volumetests/
processMonitors:
- file: uptimeApi
params:
useStatusCodes: true
host: null
port: 8011
2019-12-11 15:49:27 +01:00
2020-04-28 15:35:26 +02:00
notificationIntervalSeconds: 1800 # Repeat the same alert (which keeps being triggered) after x seconds
alertOnlyOnce: false
fadeOffSeconds: 10
checkFadeOffGroupsSeconds: 2
2020-01-14 04:24:00 +01:00
pidFile: bgpalerter.pid
2020-01-18 15:14:36 +01:00
multiProcess: false
maxMessagesPerSecond: 6000