Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1004 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 1004 Bytes

Telegram Server Monitor

Monitoring service writen in Python3 to be hosted on your own server.

Installation

Talk to @BotFather on Telegram

  • Type /start to start a conversation with the bot father.
  • Type /newbot and follow the instructions to create our own bot.
  • Remember the access token - you will need it later.
  • You may configure your bot by setting a name or picture.

Configure your linux server

# Create a special user for the bot
sudo adduser telegram --gecos "" --disabled-password

# Install Python 3 and its package manager
sudo apt-get install python3 python3-pip

# Install Python Requests and PSUtil Library
sudo python3 -m pip install requests psutil --upgrade

Download and install Telegram Server Monitor

# Change to the created user
su telegram
cd ~

git clone https://github.com/syxolk/telegram-server-monitor.git
cd telegram-server-monitor
cp config.template.py config.py

# Edit the config file with your favorite editor
vim config.py