LinuxMonitor 1.0.1__tar.gz → 1.0.2__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.
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2/LinuxMonitor.egg-info}/PKG-INFO +2 -2
- {linuxmonitor-1.0.1/LinuxMonitor.egg-info → linuxmonitor-1.0.2}/PKG-INFO +2 -2
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/README.md +1 -1
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/linuxmonitor/linuxmonitor.py +5 -1
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/setup.py +1 -1
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/LICENSE.md +0 -0
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/LinuxMonitor.egg-info/SOURCES.txt +0 -0
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/LinuxMonitor.egg-info/dependency_links.txt +0 -0
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/LinuxMonitor.egg-info/requires.txt +0 -0
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/LinuxMonitor.egg-info/top_level.txt +0 -0
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/linuxmonitor/__init__.py +0 -0
- {linuxmonitor-1.0.1 → linuxmonitor-1.0.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: LinuxMonitor
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: 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/Linux-Monitor-Python-Library
|
|
6
6
|
Author: Quentin Comte-Gaz
|
|
@@ -27,7 +27,7 @@ Requires-Dist: typing
|
|
|
27
27
|
Requires-Dist: asyncio
|
|
28
28
|
|
|
29
29
|
# Linux Monitor (Python library)
|
|
30
|
-
[](https://pypi.org/project/LinuxMonitor/) [](https://github.com/QuentinCG/Linux-Monitor-Python-Library/blob/master/LICENSE.md) [](https://paypal.me/QuentinCG) [](https://pepy.tech/project/LinuxMonitor) [](https://pepy.tech/project/LinuxMonitor)
|
|
31
31
|
|
|
32
32
|
## What is it
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: LinuxMonitor
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: 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/Linux-Monitor-Python-Library
|
|
6
6
|
Author: Quentin Comte-Gaz
|
|
@@ -27,7 +27,7 @@ Requires-Dist: typing
|
|
|
27
27
|
Requires-Dist: asyncio
|
|
28
28
|
|
|
29
29
|
# Linux Monitor (Python library)
|
|
30
|
-
[](https://pypi.org/project/LinuxMonitor/) [](https://github.com/QuentinCG/Linux-Monitor-Python-Library/blob/master/LICENSE.md) [](https://paypal.me/QuentinCG) [](https://pepy.tech/project/LinuxMonitor) [](https://pepy.tech/project/LinuxMonitor)
|
|
31
31
|
|
|
32
32
|
## What is it
|
|
33
33
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Linux Monitor (Python library)
|
|
2
|
-
[](https://pypi.org/project/LinuxMonitor/) [](https://github.com/QuentinCG/Linux-Monitor-Python-Library/blob/master/LICENSE.md) [](https://paypal.me/QuentinCG) [](https://pepy.tech/project/LinuxMonitor) [](https://pepy.tech/project/LinuxMonitor)
|
|
3
3
|
|
|
4
4
|
## What is it
|
|
5
5
|
|
|
@@ -28,7 +28,7 @@ __email__ = "quentin@comte-gaz.com"
|
|
|
28
28
|
__license__ = "MIT License"
|
|
29
29
|
__copyright__ = "Copyright Quentin Comte-Gaz (2024)"
|
|
30
30
|
__python_version__ = "3.+"
|
|
31
|
-
__version__ = "1.0.
|
|
31
|
+
__version__ = "1.0.2 (2024/09/13)"
|
|
32
32
|
__status__ = "Usable for any Linux project"
|
|
33
33
|
|
|
34
34
|
import json
|
|
@@ -937,6 +937,10 @@ class LinuxMonitor:
|
|
|
937
937
|
|
|
938
938
|
out_msg_full += out_msg + "\n"
|
|
939
939
|
out_msg_full += self.restart_service(is_private=is_private, service_name=service_name) + "\n"
|
|
940
|
+
elif status is None:
|
|
941
|
+
out_msg: str = f"⚠️ **Error checking status of {self.config['services'][service_name]['display_name']}** (not restarting it)."
|
|
942
|
+
logging.error(msg=out_msg)
|
|
943
|
+
out_msg_full += out_msg + "\n"
|
|
940
944
|
except Exception as e:
|
|
941
945
|
out_msg_full = f"**Internal error during service status check.**:\n```sh\n{e}\n```"
|
|
942
946
|
logging.exception(msg=out_msg_full)
|
|
@@ -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="LinuxMonitor",
|
|
9
|
-
version="1.0.
|
|
9
|
+
version="1.0.2",
|
|
10
10
|
description="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
|
|
File without changes
|
|
File without changes
|