DiscordBotLinuxMonitor 1.5.0__tar.gz → 1.5.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/DiscordBotLinuxMonitor.egg-info/PKG-INFO +2 -2
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/PKG-INFO +2 -2
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/README.md +1 -1
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/discordbotlinuxmonitor/discordbotlinuxmonitor.py +6 -6
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/setup.py +1 -1
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/DiscordBotLinuxMonitor.egg-info/SOURCES.txt +0 -0
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/DiscordBotLinuxMonitor.egg-info/dependency_links.txt +0 -0
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/DiscordBotLinuxMonitor.egg-info/requires.txt +0 -0
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/DiscordBotLinuxMonitor.egg-info/top_level.txt +0 -0
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/LICENSE.md +0 -0
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/discordbotlinuxmonitor/__init__.py +0 -0
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/discordbotlinuxmonitor/__main__.py +0 -0
- {discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: DiscordBotLinuxMonitor
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.1
|
|
4
4
|
Summary: 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)
|
|
5
5
|
Home-page: https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library
|
|
6
6
|
Author: Quentin Comte-Gaz
|
|
@@ -51,7 +51,7 @@ It is compatible with python 3+ and usable only on Linux.
|
|
|
51
51
|
### Public and private discord channel commands
|
|
52
52
|
Displayed infos are not the same if you do the command in private or public channel (all info are displayed in private channel, some are hidden from public channels)
|
|
53
53
|
|
|
54
|
-
- `/usage`: 📊 View disk space, CPU, RAM, ... 📊
|
|
54
|
+
- `/usage`: 📊 View disk space, Load average, CPU, RAM, ... 📊
|
|
55
55
|
<img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/usage.jpg" height="400">
|
|
56
56
|
|
|
57
57
|
- `/os_infos`: 🖥 View basic system information 🖥
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: DiscordBotLinuxMonitor
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.1
|
|
4
4
|
Summary: 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)
|
|
5
5
|
Home-page: https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library
|
|
6
6
|
Author: Quentin Comte-Gaz
|
|
@@ -51,7 +51,7 @@ It is compatible with python 3+ and usable only on Linux.
|
|
|
51
51
|
### Public and private discord channel commands
|
|
52
52
|
Displayed infos are not the same if you do the command in private or public channel (all info are displayed in private channel, some are hidden from public channels)
|
|
53
53
|
|
|
54
|
-
- `/usage`: 📊 View disk space, CPU, RAM, ... 📊
|
|
54
|
+
- `/usage`: 📊 View disk space, Load average, CPU, RAM, ... 📊
|
|
55
55
|
<img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/usage.jpg" height="400">
|
|
56
56
|
|
|
57
57
|
- `/os_infos`: 🖥 View basic system information 🖥
|
|
@@ -22,7 +22,7 @@ It is compatible with python 3+ and usable only on Linux.
|
|
|
22
22
|
### Public and private discord channel commands
|
|
23
23
|
Displayed infos are not the same if you do the command in private or public channel (all info are displayed in private channel, some are hidden from public channels)
|
|
24
24
|
|
|
25
|
-
- `/usage`: 📊 View disk space, CPU, RAM, ... 📊
|
|
25
|
+
- `/usage`: 📊 View disk space, Load average, CPU, RAM, ... 📊
|
|
26
26
|
<img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/usage.jpg" height="400">
|
|
27
27
|
|
|
28
28
|
- `/os_infos`: 🖥 View basic system information 🖥
|
|
@@ -7,7 +7,7 @@ Non exhaustive list of features (available by using it in shell or in python scr
|
|
|
7
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
8
|
- Do all checks bellow in a scheduled tasks and display the results every time (only in console if using only the library)
|
|
9
9
|
|
|
10
|
-
- Check CPU, RAM, SWAP, Temperature
|
|
10
|
+
- Check Load Average, CPU, RAM, SWAP, Temperature
|
|
11
11
|
- Check disk usage
|
|
12
12
|
- Check folder usage
|
|
13
13
|
- Check websites basic availability (ping)
|
|
@@ -33,7 +33,7 @@ __email__ = "quentin@comte-gaz.com"
|
|
|
33
33
|
__license__ = "MIT License"
|
|
34
34
|
__copyright__ = "Copyright Quentin Comte-Gaz (2024)"
|
|
35
35
|
__python_version__ = "3.+"
|
|
36
|
-
__version__ = "1.5.
|
|
36
|
+
__version__ = "1.5.1 (2024/11/03)"
|
|
37
37
|
__status__ = "Usable for any Linux project"
|
|
38
38
|
|
|
39
39
|
# pyright: reportMissingTypeStubs=false
|
|
@@ -446,10 +446,10 @@ class DiscordBotLinuxMonitor:
|
|
|
446
446
|
|
|
447
447
|
if is_private:
|
|
448
448
|
out_msg += "\n"
|
|
449
|
-
out_msg += self.monitoring.check_load_average(display_only_if_critical=False) + "\n"
|
|
450
|
-
out_msg += self.monitoring.check_cpu_usage(display_only_if_critical=False) + "\n"
|
|
451
|
-
out_msg += self.monitoring.check_ram_usage(display_only_if_critical=False) + "\n"
|
|
452
|
-
out_msg += self.monitoring.check_swap_usage(display_only_if_critical=False) + "\n"
|
|
449
|
+
out_msg += await self.monitoring.check_load_average(display_only_if_critical=False) + "\n"
|
|
450
|
+
out_msg += await self.monitoring.check_cpu_usage(display_only_if_critical=False) + "\n"
|
|
451
|
+
out_msg += await self.monitoring.check_ram_usage(display_only_if_critical=False) + "\n"
|
|
452
|
+
out_msg += await self.monitoring.check_swap_usage(display_only_if_critical=False) + "\n"
|
|
453
453
|
out_msg += self.monitoring.check_cpu_temperature(display_only_if_critical=False) + "\n"
|
|
454
454
|
out_msg += self.monitoring.get_network_info()
|
|
455
455
|
|
|
@@ -6,7 +6,7 @@ with io.open(file='README.md', mode='r', encoding='utf-8') as readme_file:
|
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name="DiscordBotLinuxMonitor",
|
|
9
|
-
version="1.5.
|
|
9
|
+
version="1.5.1",
|
|
10
10
|
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)",
|
|
11
11
|
long_description=readme,
|
|
12
12
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/discordbotlinuxmonitor/__init__.py
RENAMED
|
File without changes
|
{discordbotlinuxmonitor-1.5.0 → discordbotlinuxmonitor-1.5.1}/discordbotlinuxmonitor/__main__.py
RENAMED
|
File without changes
|
|
File without changes
|