Giter Site home page Giter Site logo

joshua-ashton / lookout Goto Github PK

View Code? Open in Web Editor NEW

This project forked from delan/lookout

1.0 2.0 0.0 64 KB

lightweight, web-based server monitoring

Home Page: http://opacus.daz.cat/

License: ISC License

Python 7.44% HTML 11.53% JavaScript 75.46% CSS 5.57%

lookout's Introduction

Lookout

Lightweight, web-based server monitoring.

The Python backend uses Flask and Tornado to serve JSON data thanks to psutil, while the frontend uses Smoothie Charts for the live graphs.

What does it look like?

screenshot

Windows Server 2012 users

Please run diskperf -y to enable disk activity monitoring. Without doing so, psutil and lookout will fail to run properly. As a side effect, doing so allows you to also view disk activity in Task Manager.

Running directly from source

To run Lookout from source, install Python 2.7, pip and a C compiler. Windows users should use MSVC++ 2008 (not even a newer version) for the least headaches.

Then install dependencies with pip install -r requirements.txt.

Finally, run lookout.py to start monitoring. You can optionally supply the port to listen on as the first argument (e.g. lookout.py 8080), but the default is port 80.

Skype users, please note that ports 80 and 443 are taken by default; you will need to turn off "Use 80 and 443 for incoming connections" and restart Skype to use those ports.

If you're using Debian, Ubuntu or relatives, setup might look like this:

apt-get install git build-essential python python-dev python-pip
git clone git://github.com/delan/lookout.git
cd lookout
pip install -r requirements.txt
python lookout.py

How to build a standalone executable

Werkzeug does some crazy import magic that breaks PyInstaller's module detection, so please edit werkzeug's __init__.py and remove everything after the line where __version__ is defined.

Download PyInstaller and in this directory, run path/to/pyinstaller.py -F lookout.spec.

The resulting executable will be found as dist/lookout.exe. Run it to start monitoring, again with an optional port argument.

lookout's People

Contributors

delan avatar kyerussell avatar

Stargazers

 avatar

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.