Monitoring service writen in Python3 to be hosted on your own server.
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