Coder Social home page Coder Social logo

night-sky's Introduction

Night-Sky

10s Interval Port Monitoring

Build Status

Night-Sky is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. You should have received a copy of the license along with this work. If not, see https://creativecommons.org/licenses/by-nc-sa/4.0/

  • PHP 7.0+, using BackgroundProcess
  • Run a Slot every Second, each Slot can run multiple Processes, 5 Servers are assigned to each Process
  • Loadbalance the Monitoring requests over these Slots, 10 Slots per 10 Seconds, 1 Slot reserved for Offline Servers
  • If a Port is not reachable, move it to the Dedicated Offline Slot, move it back afterwards (planned)
  • Limit of 20 Users for the Start, 10 Checks for each User
  • Email notifications via local Mail function (relayed to MXRoute)
  • Block the current Thread if the previous one is still Running
  • Database Backend: PHP, MariaDB
  • Frontend: HTML (Bootstrap 3 / Font Awesome)

QuickSetup:

  1. Create a User+DB, Import the content/sql/night-sky.sql
  2. Rename content/configs/config.example.php to config.php and regex.example.php to regex.php
  3. Update content/configs/config.php with your Database details and make SURE to change "Domain", otherwise Cookies wont work.
    Make SURE to use a Domain with SSL enabled otherwise you will not get any cookies.
  4. Put cron/night.php and cron/remote.php into Crontab to run every 60 seconds
  5. Deploy some Remote Servers and add them to the table remote.
    You can find the files in content/remote/
    The Field IP can be also contain a URL like "check.domain.com", make sure the Domain is reachable over TLS, plain wont work.

night-sky's People

Watchers

 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.