updoot readme and version labels in the main file
This commit is contained in:
parent
e52703fe44
commit
b09798cada
2 changed files with 6 additions and 3 deletions
|
|
@ -1,6 +1,8 @@
|
|||
# lainmonitor
|
||||
|
||||
LainMonitor is a Telegram bot designed to monitor your system, providing real-time updates on the system’s status, essential services, and disk usage. It can also verify connectivity to a specific Tailscale IP address.
|
||||
Current version: v1.2
|
||||
|
||||
### Key Features:
|
||||
|
||||
Retrieve system information:
|
||||
|
|
@ -76,7 +78,8 @@ Enable and start the service:
|
|||
/help — Display a list of available commands.
|
||||
/status — Retrieve system hostname, uptime, and status of monitored services.
|
||||
/ping — Ping a Tailscale IP and return connectivity status.
|
||||
/reboot — (Work in progress) Placeholder for a system reboot command.
|
||||
/restart hostname- Restart a specific service on a specified machine.
|
||||
/reboot hostname — Placeholder for a system reboot command.
|
||||
|
||||
### Contributions:
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
# usage: python3 lainmonitor.py | or run it as a service
|
||||
# author: hornetmaidan
|
||||
# contributors: h@x
|
||||
# version: 1.1.6
|
||||
# version: 1.2
|
||||
import os
|
||||
import subprocess
|
||||
import threading
|
||||
|
|
@ -161,7 +161,7 @@ def handle(message):
|
|||
bot.reply_to(message, 'You are not authorized for this action')
|
||||
else:
|
||||
if message.text == '/start':
|
||||
bot.reply_to(message, 'lainmonitor v1.0 --- standing by...')
|
||||
bot.reply_to(message, 'lainmonitor v1.2 --- standing by...')
|
||||
elif message.text == '/help':
|
||||
bot.reply_to(message, 'commands: /start, /help, /status, /restart, /reboot, /ping')
|
||||
bot.reply_to(message, 'commands: /start, /help, /status, /restart, /reboot, /ping')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue