1.5 KiB
Installation
Running BGPalerter from binaries
-
Download the binary here (be sure to select the one for your OS).
-
Download
config.yml.exampleasconfig.ymlandprefixes.yml.exampleasprefixes.yml, and place them in the same directory of the executable (if you skip this step, some default configuration files will be generated during the first execution). -
Modify
prefixes.ymland add the prefixes you want to monitor (or see below how to auto generate this file). -
Run the executable (e.g.
chmod 700 bgpalerter-linux-x64 && nohup ./bgpalerter-linux-x64 &). -
See the alerts in
logs/reports-YYYY-MM-DD.log(e.g.tail -f logs/reports*)
In config.yml.example you can find other reporting mechanisms (e.g. email and slack) in addition to logging to files.
Please uncomment the related section and configure according to your needs.
If you enable email reporting, download also the directory reports/email_templates in the same directory of the executable.
Running BGPalerter from the source code
-
Git clone this repo.
-
Install Node.js (version >= 10.16) and npm (installing node and npm).
-
Execute
npm installto install all dependencies. -
Run
npm run watch-and-serveto run the application. At every file change it will self-reload.