【文件属性】:
文件名称:ServerMonitor:用于监视和管理服务器的Python脚本
文件大小:4KB
文件格式:ZIP
更新时间:2021-04-08 18:56:41
Python
电报服务器监控器
用Python3编写的监视服务将托管在您自己的服务器上。
安装
在Telegram上与@BotFather交谈
键入/start开始与Bot父亲进行对话。
键入/newbot并按照说明创建我们自己的机器人。
记住访问令牌-以后将需要它。
您可以通过设置名称或图片来配置机器人。
配置您的linux服务器
# 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
【文件预览】:
ServerMonitor-main
----methods.py(5KB)
----persistence.py(663B)
----test.py(114B)
----config.template.py(806B)
----Main.py(779B)
----.gitignore(33B)
----README.md(1004B)