Skip to main content

Simple server usage monitor writen with flask

Project description

Server manager

is a simple server monitoring web dashboard with a couple of management features.

Installation

You can install server manager from pip:

$ pip install server-manager

Running the dashboard

To run the dashboard you have to use gunicorn (installed as a dependency)

run syntax:

$ python -m gunicorn -b host:port serverman.wsgi:app

if you have gunicorn installed as a system-wide package you can simply use gunicorn removing python -m

run command example:

$ python -m gunicorn -b 0.0.0.0:8080 serverman.wsgi:app

Explanation

python -m runs a python package, in this case gunicorn, the -b flag specifies bind, --bind can also be used , this binds the wsgi server to a certain server and port, in this case 0.0.0.0 and port 8080.

The host 0.0.0.0 is used so the server can be accessible network wide. The port really can be specified to anything except ports like 80 or 443, that require escalated privileges. For the server to be accessible on port 80 or 443 both the flask and gunicorn documentations recommend using a reverse proxy like apache httpd and nginx.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

server_manager-0.0.32.tar.gz (136.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

server_manager-0.0.32-py3-none-any.whl (159.0 kB view details)

Uploaded Python 3

File details

Details for the file server_manager-0.0.32.tar.gz.

File metadata

  • Download URL: server_manager-0.0.32.tar.gz
  • Upload date:
  • Size: 136.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for server_manager-0.0.32.tar.gz
Algorithm Hash digest
SHA256 54890e7ef1cb050ba66519e5bec2f285b14bfdc490bb3d9cee7a6b36972556e9
MD5 b664bb3050e1238c1813393dcd63b2fb
BLAKE2b-256 3dab1ac1b9d249bf8dd8c7962211d841b4e5e11e23f1dde0ecc0c5d40c484e4a

See more details on using hashes here.

File details

Details for the file server_manager-0.0.32-py3-none-any.whl.

File metadata

File hashes

Hashes for server_manager-0.0.32-py3-none-any.whl
Algorithm Hash digest
SHA256 51c5ef2aecabb3d21e9ce4ba734408b4dfd20a9421aae14d90ee5692669bc3f8
MD5 d4e4968db4d43f4fda2c5c53b4491669
BLAKE2b-256 adb824b1a1b00878bb7b1f2731538aa40bcd056b608a2f8bf6c07ea1e35be503

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page