GithubHelp home page GithubHelp logo

nnss / ping-mon Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 273 KB

simple Flask + appscheduler application that monitors ping to a host

License: BSD 2-Clause "Simplified" License

Python 93.78% Shell 3.58% Dockerfile 2.64%

ping-mon's Introduction

About the program

This is a simple ping monitoring app made in Flask (python) that uses pure python modules, so it would be used under windows and *nix where python runs, and as a docker image. It only keeps the last 24 hours, timeouts are shown as -50ms in the times. Besides the raw data, there is a simple graphic that shows the last 24 hours using hicharts.

The ping is done with ApScheduler to and is configured via /config URL. It can be 1 or more IPs and each one is showed at the home page.

This is intended to be really simple script, the main reason for this program was to monitor the internet of my home, and to understand why was slow (lost packages, bad wify, etc)

This is not to be a full monitoring tool, just an ICMP ping with a small history (24 hours).

Python modules dependencies are in the requirements file.

nnss https://github.com/nnss/ping-mon

ToDo

  • tidy code
  • add inline doc for auto-document the script
  • store IPs in the DB
  • add housekeeping:
    • clean old DB entries when program starts and each X hours
  • add about page with some help to the WEB, Copyright and other info.

Docker:

  • move the DB to a mountable volume

JS installer

ping-mon's People

Contributors

nnss avatar

Watchers

James Cloos avatar  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.