Skip to content

Commit 6ea950f

Browse files
committed
version: 1.0.1
1 parent eed5815 commit 6ea950f

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

discordbotlinuxmonitor/discordbotlinuxmonitor.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
"""
2+
Discord bot to:
3+
- monitor a Linux server and inform about its status (in case of issues or periodical info) through Discord channels
4+
- execute commands from Discord channels
5+
6+
Non exhaustive list of features (available by using it in shell or in python script):
7+
- Do all checks bellow in a scheduled tasks and display the results only if there is an issue (only in console if using only the library)
8+
- Do all checks bellow in a scheduled tasks and display the results every time (only in console if using only the library)
9+
10+
- Check CPU, RAM, SWAP, Temperature
11+
- Check disk usage
12+
- Check folder usage
13+
- Check websites basic availability (ping)
14+
- Check services status and restart them if needed
15+
- Check certificates expiration and validity
16+
- Check last user connections IPs
17+
- Check uptime (to inform if the server has been rebooted)
18+
19+
- Get hostname, OS details, kernel version, server datetime, uptime
20+
- Get connected users
21+
22+
- Get processes list (PID and name)
23+
- Kill a process by PID
24+
25+
- Reboot server
26+
"""
27+
28+
__author__ = 'Quentin Comte-Gaz'
29+
__email__ = "[email protected]"
30+
__license__ = "MIT License"
31+
__copyright__ = "Copyright Quentin Comte-Gaz (2024)"
32+
__python_version__ = "3.+"
33+
__version__ = "1.0.1 (2024/09/14)"
34+
__status__ = "Usable for any Linux project"
35+
136
# pyright: reportMissingTypeStubs=false
237
from linuxmonitor import LinuxMonitor
338

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="DiscordBotLinuxMonitor",
9-
version="1.0.0",
9+
version="1.0.1",
1010
description="From discord channels: Get information and warning status of Linux server like service, port, ping, ssl certificate, disk/folder/cpu/ram/swap usage, ip connection, ... (Python and shell library, Linux ONLY)",
1111
long_description=readme,
1212
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)