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

monitorAS enabled by default

This commit is contained in:
Massimo Candela
2019-11-28 18:09:44 +01:00
parent a0bcc1fbce
commit 94ca11069c
3 changed files with 10 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ monitors:
channel: misconfiguration channel: misconfiguration
name: asn-monitor name: asn-monitor
params: params:
thresholdMinPeers: 0 thresholdMinPeers: 2
reports: reports:
- file: reportFile - file: reportFile

View File

@@ -191,9 +191,6 @@ Parameters for this monitor module:
|---|---| |---|---|
|thresholdMinPeers| Minimum number of peers that need to see the BGP update before to trigger an alert. | |thresholdMinPeers| Minimum number of peers that need to see the BGP update before to trigger an alert. |
This monitor is by default disabled. Uncomment the `monitorAS` block in `config.yml` to enable it (see [here](#composition)).
### Reports ### Reports

View File

@@ -98,12 +98,20 @@ let config = {
params: { params: {
thresholdMinPeers: 10 thresholdMinPeers: 10
} }
},
{
file: "monitorAS",
channel: "misconfiguration",
name: "as-monitor",
params: {
thresholdMinPeers: 2
}
} }
], ],
reports: [ reports: [
{ {
file: "reportFile", file: "reportFile",
channels: ["hijack", "newprefix", "visibility", "path"] channels: ["hijack", "newprefix", "visibility", "path", "misconfiguration"]
} }
], ],
notificationIntervalSeconds: 7200, notificationIntervalSeconds: 7200,