merlijntishauser / ripe-hackathon-disco

Ripe hackathon project - Real time atlas probe disconnect monitor

Home Page:push.thepanicbutton.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ripe-hackathon-disco

At the april 2015 RIPE Hackathon (the first one?!) this project was created. The aim of the project is to show realtime internet outages as a heatmap. This map should be enriched with 3rd party data, esp. Twitter trending topics.

The name disco comes from DISconnect/COnnect. On the site this has been extended to DISCO Monitor, DISCOMO for short.

The presentation can be found zipped in the presentation directory. It probably gives more background information. We hate writing readme's ;)

Trello Board

https://trello.com/b/azZsHxgX/ripe-hackathon-disco

Deploy Instances to AWS

    ansible-playbook -i hosts_hackathon.yml site.yml

Deploy Elasticsearch to AWS instance

Elasticsearch is deployed using a docker image.

    ansible-playbook -i hosts_hackathon.yml  deploy/elastic.yml

Setup a Twitter River to ElasticSearch

{
  "type": "twitter",
  "twitter": {
    "oauth": {
      "consumer_key": "---your consumer key---",
      "consumer_secret": "--- your consumer secret ---",
      "access_token": "--- access application token ---",
      "access_token_secret": "--- and the application secret ---"
    },
    "filter": {
      "tracks": "flood,overstroming,poweroutage, stroomstoring,bliksem,lightning",
      "language": "nl,en"
    }
  },
  "index": {
    "index": "atlas_twitter_river",
    "type": "status",
    "bulk_size": 100,
    "flush_interval": "5s",
    "retry_after": "10s"
  }
}

About

Ripe hackathon project - Real time atlas probe disconnect monitor

push.thepanicbutton.nl

License:GNU Lesser General Public License v3.0


Languages

Language:JavaScript 68.2%Language:PHP 25.0%Language:Python 4.6%Language:HTML 1.2%Language:Ruby 1.0%Language:CSS 0.1%