freifunk/icvpn-monitoring

Name: icvpn-monitoring

Owner: Freifunk

Description: Monitoring of BGP sessions in our Inter City VPN

Created: 2015-08-14 11:53:35.0

Updated: 2015-08-14 17:21:52.0

Pushed: 2015-08-19 14:17:52.0

Homepage: null

Size: 156

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

icvpn-monitoring

Monitoring of BGP sessions in our Inter City VPN

web

The website is a simple angularjs application that presents data read from a sessions.js. The sessions.js contains information about BGP sessions in JSON format.

setup
  1. Copy web folder to your webserver directory
  2. Create a data folder in the web folder
  3. Configure your webserver to serve index.html
data source

The data source (sessions.js) is created by a nodejs script. The scripts reads yaml files from icvpn-meta repository and combines them with BGP session data from bird. If you want to keep the information on the web page up to date schedule some taks to checkout icvpn-meta repository and run the BirdToJSON.js script.

setup
  1. Clone icvpn-meta repository
  2. Change dataPath variable in BirdToJSON.js to the parent folder of the icvpn-meta data folder
  3. Chage webDataPath in BirdToJSON.js to data folder you created in step 2 of web setup
  4. Install BirdToJSON.js node dependencies (BirdSocket, yamljs, when, q)
  5. Run BirdToJSON.js Node script

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.