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:
@@ -42,7 +42,7 @@ monitors:
|
||||
channel: misconfiguration
|
||||
name: asn-monitor
|
||||
params:
|
||||
thresholdMinPeers: 0
|
||||
thresholdMinPeers: 2
|
||||
|
||||
reports:
|
||||
- file: reportFile
|
||||
|
@@ -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. |
|
||||
|
||||
This monitor is by default disabled. Uncomment the `monitorAS` block in `config.yml` to enable it (see [here](#composition)).
|
||||
|
||||
|
||||
|
||||
### Reports
|
||||
|
||||
|
10
src/env.js
10
src/env.js
@@ -98,12 +98,20 @@ let config = {
|
||||
params: {
|
||||
thresholdMinPeers: 10
|
||||
}
|
||||
},
|
||||
{
|
||||
file: "monitorAS",
|
||||
channel: "misconfiguration",
|
||||
name: "as-monitor",
|
||||
params: {
|
||||
thresholdMinPeers: 2
|
||||
}
|
||||
}
|
||||
],
|
||||
reports: [
|
||||
{
|
||||
file: "reportFile",
|
||||
channels: ["hijack", "newprefix", "visibility", "path"]
|
||||
channels: ["hijack", "newprefix", "visibility", "path", "misconfiguration"]
|
||||
}
|
||||
],
|
||||
notificationIntervalSeconds: 7200,
|
||||
|
Reference in New Issue
Block a user