Coder Social home page Coder Social logo

monitoring_with_grpc's Introduction

monitoring_with_grpc

monitor the server with the help of python3 and grpc protocol

run(both in client and server)

git clone https://github.com/mar-coding/monitoring_with_grpc.git
cd monitoring_with_grpc
python3 -m venv venv
source venv/bin/activate
sudo chmod +x ./setup.sh
pip install -r req.txt
./setup.sh

for server

python server.py

for monitoring

python monitor.py

for telegram

  1. create a telegram bot in '@botfather' and get your bot's token.

  2. create '.env' file and write this to it.(must be done in root directory):

TOKEN=bottoken
  1. run below code
python telegramHandler.py

To Do

  • Solve the timing problem to logging become realtime

monitoring_with_grpc's People

Contributors

mar-coding avatar

Watchers

 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.