Code Monkey home page Code Monkey logo

server-management-tool's Introduction

 ____  __  __       __  __ _____ 
/ ___||  \/  | __ _|  \/  |_   _|
\___ \| |\/| |/ _` | |\/| | | |  
 ___) | |  | | (_| | |  | | | |  
|____/|_|  |_|\__,_|_|  |_| |_|  

Server Management and Monitoring Tool

Этот инструмент позволяет вам мониторить и управлять вашим сервером через Telegram.
                                 

Содержание.

Установка.

  1. Клонируйте репозиторию:
git clone https://github.com/mython-dev/server-management-tool.git
  1. Перейдите в директорию проекта:
cd server-management-tool
  1. Установите зависимости:
pip install -r requirements.txt
  1. Откроете файл config.py и добавьте Токен Бота и свой Телеграмм ID.
# config.py
BOT_TOKEN = 'yourtelegrambottokenhere'
TLEGRAM_ID = 'yourtelegramidhere'
  1. Запуск интрумента:
chmod +x run.sh && chmod +x bot.py
./run.sh

Использование.

После запуска инструмента вы можете взаимодействовать с ним через Telegram. Используйте следующие команды:

  • /start: приветственное сообщение пользователя.
  • /help: список доступных команд.
  • /status: отправляет статус сервера.
  • /date: показывает время работы сервера.
  • /df: показывает информацию о дисковом пространстве.
  • /restart: перезагрузить сервер.
  • /shutdown: выключить сервер.
  • /install: установить пакет, используя пакетный менеджер APT.
  • /remove: удалить пакет.
  • /processes: получить список процессов.
  • /backup: сделать резервную копии файла или каталога.
  • /logs: отправить все логи в /var/log/.
  • /network: сетевые настройки.
  • /cmd: будет выполнять команды на сервере

Скриншоты

Find Me on 🌐:

  • Github

  • Gmail

  • Instagram

  • Instagram

server-management-tool's People

Contributors

mython-dev avatar

Stargazers

 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.