1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00
Clone
3
Monitored prefixes file (prefixes.yml)
Massimo Candela edited this page 2019-09-17 22:50:21 +02:00

In config.yml it is possible to specify one or more files (under monitoredPrefixesFiles) containing the list of prefixes to monitor. By default the list is contained in prefixes.yml which it looks like the following:

165.254.255.0/24:
  description: Amsterdam PoP
  asn: 15562
  group: default
  ignoreMorespecifics: false
  ignore: false
 
192.147.168.0/24:
  description: Job's home
  asn: 15562
  group: default
  ignoreMorespecifics: false
  ignore: false

Each prefix has its own block (don't forget the semicolon) containing:

  • description - what will be displayed in the alerts in case something goes wrong with this prefix (mandatory)
  • group - the group of users that will receive the alert (default: "default")
  • asn - the origin AS that will be considered as valid status (mandatory)
  • ignoreMorespecifics - a boolean flag to ignore alerts on more specific prefixes (default: false)
  • ignore - a boolean flag to ignore alerts on the prefix (default: false)

If part of your address space is delegated and you want to exclude it from the monitoring, you can add both your less specific prefixes and the delegated more specific prefixes in the list. Just remember to set ignoreMorespecifics: false and ignore: false on the less specifics and ignoreMorespecifics: true and ignore: true on the more specifics.