Aradhya-Tripathi / fire-watch

Lite device Monitoring.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fire-watch Logo

Fire-watch is a simple device monitoring service providing CLI support

version 3.0.0 license MIT author Aradhya-Tripathi

πŸ’‘ Project Description

Log and manager IoT device clusters at once through a single dashboard/CLI with realtime alerts.

πŸ“Œ Prerequisites

πŸ’» System requirement :

  1. Any system with basic configuration.
  2. Operating System : Any (Windows / Linux / Mac).

πŸ’Ώ Software requirement :

  1. Updated browser
  2. Node.js installed (If not download it here).
  3. Python installed (If not download it here).
  4. Any text editor of your choice.

Installation πŸ”§

Server

Install python dependencies

$ pip install -r requirements.txt
or
$ poetry install

Cache

Using KeyDB as alternative to Redis

echo "deb https://download.keydb.dev/open-source-dist $(lsb_release -sc) main" | sudo tee /etc/aptsources.list.d/keydb.list
$ sudo wget -O /etc/apt/trusted.gpg.d/keydb.gpg https://download.keydb.dev/open-source-dist/keyring.gpg

$ sudo apt update
$ sudo apt install keydb

Server Configurations

  • Being a configurable plug-in, Fire-Watch can be configured on the fly.
  • Configuration options are listed in the ./server/fire_watch/config/config.json

Django Patches

Patched manage.py the django administrative file with several additional functionalities to sit with the current server architecture.

Options

  • show-configs.
    • Shows current server configurations.
  • list-admins.
    • Shows all present admins.
  • create-admin-user.
    • Drawn from native create super user, creates an admin user.
  • remove-admin-user.

    • Removes admin user.

Usage

image

Run development server

$ bash ./run_server.sh

πŸ“œ License

Fire-watch is available under the MIT license. See the LICENSE file for more info.

πŸ’₯ Contributors

Contributors

🚨 Forking this repo

Many people have contacted us asking if they can use this code for their own websites. The answer to that question is usually "yes", with attribution. There are some cases, such as using this code for a business or something that is greater than a personal project, that we may be less comfortable saying yes to. If in doubt, please don't hesitate to ask us.

We value keeping this site open source, but as you all know, plagiarism is bad. We spent a non-negligible amount of effort developing, designing, and trying to perfect this iteration of our website, and we are proud of it! All we ask is to not claim this effort as your own.

So, feel free to fork this repo. If you do, please just give proper credit!. Refer to this handy quora post if you're not sure what to do. Thanks!

About

Lite device Monitoring.

License:MIT License


Languages

Language:Python 75.2%Language:JavaScript 20.0%Language:HTML 2.4%Language:Shell 1.4%Language:CSS 0.9%Language:Procfile 0.1%