Coder Social home page Coder Social logo

simudream / suponoff Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gambitresearch/suponoff

0.0 2.0 0.0 223 KB

Supervisor On/Off: an alternative web interface for supervisor

License: BSD 2-Clause "Simplified" License

Python 45.62% JavaScript 36.27% HTML 18.11%

suponoff's Introduction

suponoff is a web interface to supervisor

suponoff (short for Supervisor On/Off) is a Django app to control supervisor and monitor the programs running under supervisor.

You give the app a list of server hostnames to connect to, and it connects to port 9001 of each of the servers, where supervisor normally listens. Optionally, you may run the provided program suponoff-monhelper.py, which listens on port 9002 and provides the following additional functionalities:

  1. Reports back the resource limits and usage of the processes, such as number of file descriptors, memory, cpu, number of threads and subprocesses;
  2. Provides the ability to monitor application log files in some cases: it looks at the process command line and parses it, looking for --logfile or --log-file arguments.If it can find and open the indicated log file, then you will be able to open this log file from the web interface.

To use this app, create a Django project that includes 'suponoff' in its applications and includes the URLs from 'suponoff.urls'. Then you add the SUPERVISORS setting (a list of hostnames). The web interface can also add "tags" to each program, allowing you to filter by tags. For an example, see the demo project in the source distribution.

Screenshot:

image

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.