GithubHelp home page GithubHelp logo

monitor-servers-working-times's Introduction

EN

Monitor servers working times

Hello, simple Python project. It sends a ping request to the server or site and records the server's state and the date and time of the request was sent in its log file or you can add your telegram bot using telegram.py, and you can schedule its operating times using crontap

Before starting, please do these commands

pip3 install os
pip3 install datetime
pip3 install requests

To add websites or servers IPs, go to the list.py file and enter the data in the form of an array

Example: list = ['google.com1', 'twitter.com', '192.168.1.1']

AR

مراقبة اوقات عمل الخوادم

يا هلا ، مشروع بايثون بسيط. يرسل ping إلى الخادم أو الموقع ويسجل حالة الخادم وتاريخ ارسال الطلب ووقته في ملف السجل الخاص به او بإمكانك ربط السكربت مع بوت تيليقرام من خلال الملف الخاص به telegram.py ، ويمكنك جدولة أوقات عمله باستخدام crontap

قبل البدء ، يرجى تنفيذ هذه الأوامر

pip3 install os
pip3 install datetime
pip3 install requests

لإضافة المواقع أو ايبيات الخوادم ، انتقل إلى ملف list.py وأدخل البيانات في شكل مصفوفة

مثال: list = ['google.com1', 'twitter.com', '192.168.1.1']

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.