Coder Social home page Coder Social logo

wan-monitor-host's Introduction

wan-monitor-host

WAN monitoring service with speedtest/ping done directly on host

Alternative build with dockerized worker

Solution architecture diagram

How to get started:

  1. Install or compile speedtest-cli https://github.com/sivel/speedtest-cli
  2. Configure your environment within config.ini
  3. Setup environmental variables & cron bash setup-env.sh
  4. Start your containers sudo docker-compose up -d
  5. After Grafana is up run ./setup-grafana.sh
  6. Go to http://localhost:8080 and login to Grafana using your username & password (default admin:password123)
  7. Go to Dashboards -> Manage
  8. Choose WAN Monitoring

Quick start:

git clone https://github.com/sivel/speedtest-cli.git
cd speedtest-cli
python setup.py install
cd ..

git clone https://github.com/lucyfer3k/wan-monitor-host.git
cd wan-monitor-host
bash setup-env.sh
sudo docker-compose up -d
sleep 30
./setup-grafana.sh

Example of gathered data:

Tested on:

  • Docker version 20.10.3
  • docker-compose version 1.28.2
  • Manjaro Nibia 20.2.1
  • curl 7.75.0
  • ping from iputils s20200821
  • speedtest-cli 2.1.2
  • cronie 1.5.5

Based on images:

  • grafana/grafana:latest
  • quay.io/influxdb/influxdb:2.0.4
  • nginx:alpine

This project was first based on these blog posts:

wan-monitor-host's People

Contributors

lucyfer3k avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.