Giter Club home page Giter Club logo

monito's Introduction

Monito

It monitors the servers on a network using a config file and reports the users that are currently logged in it.

What is this repository for?

This repo is for Monito related development and issues. This app has not been tested on windows os.

Pre-requisites
- `pip` or `easy_install`
- Create a shared secret key for your machines in order to allow anonymous ssh login to monito.
Dependencies
* python3
* linux os
How to setup the app
* Clone the project
* Download virtualenvwrapper
    - `pip install virtualenvwrapper`
* Create new virtual environment
    - `mkvirtualenv monito`
* Shift to the environment
    - `source ~/.virtualenvs/monito/bin/activate`
* Install dependencies
	- `pip install -r dev-requirements.txt`
* Give execute permissions to the script (fetch_machines.sh)
	- `chmod +x ./monito.sh`
* Create a csv file (without headers) with the following format
    - hostname,owner name,username-to-use-to-login
Run the app
`python app.py`
Run the script for getting the live users
`./monito.sh -f /path/to/machinefile -k /path/to/ssh-key/file [-m <false/true>]`
Note: Running the above script with true will remove the owners and current users from the database.
Technical diagram

Misc
* Open `http://localhost:5000` for viewing the dashboard.
* Use `-h` for help menu

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.