DiscordBotLinuxMonitor


NameDiscordBotLinuxMonitor JSON
Version 1.5.1 PyPI version JSON
download
home_pagehttps://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library
SummaryFrom 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)
upload_time2024-11-03 16:06:34
maintainerNone
docs_urlNone
authorQuentin Comte-Gaz
requires_python>=3.3
licenseMIT
keywords discord bot warning info linux monitor monitoring server service port ping ssl certificate disk folder cpu ram swap usage ip connection
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Discord Bot Linux Monitor (Python library)
[![PyPI version](https://badge.fury.io/py/DiscordBotLinuxMonitor.svg)](https://pypi.org/project/DiscordBotLinuxMonitor/) [![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/blob/master/LICENSE.md) [![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/QuentinCG) [![Downloads](https://static.pepy.tech/badge/DiscordBotLinuxMonitor)](https://pepy.tech/project/DiscordBotLinuxMonitor) [![Downloads](https://static.pepy.tech/badge/DiscordBotLinuxMonitor/month)](https://pepy.tech/project/DiscordBotLinuxMonitor)

## What is it

This python library is designed to be used as a Linux service to monitor the Linux server manually with discord commands and to send warning or information of the Linux server status to a discord channel periodically (if relevant).

It is possible to have separate 'private discord channel' and 'public discord channel' for:
 - Sendind discord commands to the bot (visual example in next section)
 - Getting periodic status of the Linux server (doing periodically some commands from next section)
 - Getting warnings if there is an issue in the Linux server (periodic status check)

Example of warning:
  <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/warning_from_periodic_check.jpg" height="400">

It is compatible with python 3+ and usable only on Linux.

<img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/discord.png" width="300">

## List of Discord commands:

### Public and private discord channel commands
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)

 - `/usage`: 📊 View disk space, Load average, CPU, RAM, ... 📊
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/usage.jpg" height="400">

 - `/os_infos`: 🖥 View basic system information 🖥
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/os_infos.jpg" height="300">

 - `/ping`: 🌐 Ping websites 🌐
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/ping.jpg" height="150">

 - `/websites`: 🌐 Check websites access (GET requests) 🌐
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/websites.jpg" height="150">

 - `/certificates`: 🔒 Check SSL certificates 🔒
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/certificates.jpg" height="400">

 - `/services_status`: 🩺 Check services are running 🩺
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/services_status.jpg" height="150">

 - `/restart_all`: 🚀 Restart all services 🚀
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/restart_all.jpg" height="150">

 - `/restart_service {service_name}`: 🚀 Restart a service 🚀
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/restart_service.jpg" height="150">

 - `/stop_service {service_name}`: 🚫 Stop a service 🚫

 - `/list_services`: 📋 List all available services 📋
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/list_services.jpg" height="150">

 - `/ports`: 🔒 Check ports 🔒
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/ports.jpg" height="200">

 - `/list_commands`: 📋 List all available commands 📋

 - `/execute_command`: 🚀 Execute a command 🚀

 - `/execute_all_commands`: 🚀 Execute all commands 🚀

### Private discord channel commands:
 - `/force_sync`: 🔄 Force discord command synchronization 🔄
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/force_sync.jpg" height="300">

 - `/users`: 👥 View connected users 👥
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/users.jpg" height="150">

 - `/user_logins`: 👥 View last user connections 👥
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/user_logins.jpg" height="150">

 - `/reboot_server`: 🔄 Restart the entire server 🔄
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/reboot_server.jpg" height="100">

 - `/list_processes`: 📋 List active processes 📋
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/list_processes.jpg" height="200">

 - `/kill_process`: 🚫 Stop a process by PID 🚫
 <img src="https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/kill_process.jpg" height="200">

## How to install (for first launch)

  - Install package calling `python -m pip install discordbotlinuxmonitor` (or `python setup.py install` from the root of this repository)
  - Copy and edit [config-example.json file](https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/blob/master/config-example.json) depending on your need (on first launch, remove all `restart_command` from config file to prevent potential looping service restart issues on your server in case your config file is not well configured)
  - Launch the lib for testing it works:
```shell
# Get help
python3 -m discordbotlinuxmonitor --help
# Use "--debug" to show more information during command
# Use "--nodebug" to not show any warning information during command

# Start the discord bot Linux monitor (First time)
python3 -m discordbotlinuxmonitor --config_file config-example.json --force_sync_on_startup --debug

# Start the discord bot Linux monitor (after first time)
python3 -m discordbotlinuxmonitor --config_file config-example.json
```
  - Go to discord (restart discord if you were already in it)
  - You should see welcome messages on channels you configured in the config file and be able to communicate with the bot using command defined in previous section


## How to install this lib as a service (to keep it running in the Linux server as a monitor)

  - Stop the discord bot and create a service to have it running even after computer reboot:
```sh
### Define all base info
DISCORD_BOT_SERVICE_USER="discordbotlinuxmonitor"
DISCORD_BOT_SERVICE_GROUP="discordbotlinuxmonitor"
DISCORD_BOT_SERVICE_NAME="discord-bot"
DISCORD_BOT_SERVICE_FILE="/etc/systemd/system/${DISCORD_BOT_SERVICE_NAME}.service"
DISCORD_BOT_FOLDER="/opt/DiscordBot/"

### Add rights to user launching the library depending on what you want it to do ###
# Only if this library should be able to reboot the server on demand:
echo "$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /sbin/reboot" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER
# Only if this library should be able to kill a process on demand:
echo "$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /bin/kill" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER
# Add also all processes added in your config JSON file you want the library to be able to execute
# Example for the existing config-example.json file:
echo "$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /bin/systemctl" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER
echo "$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /etc/init.d/apache2" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER
echo "$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /etc/init.d/mariadb" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER

### Create a specific user and group to launch the discord bot service ###
echo "Creating user $DISCORD_BOT_SERVICE_USER..."
sudo useradd -r -s /usr/sbin/nologin $DISCORD_BOT_SERVICE_USER
sudo mkdir -p /home/$DISCORD_BOT_SERVICE_USER
sudo chown $DISCORD_BOT_SERVICE_USER:$DISCORD_BOT_SERVICE_GROUP /home/$DISCORD_BOT_SERVICE_USER
sudo usermod -d /home/$DISCORD_BOT_SERVICE_USER $DISCORD_BOT_SERVICE_USER

### Install DiscordBotLinuxMonitor lib for the user ###
echo "Installing DiscordBotLinuxMonitor for user $DISCORD_BOT_SERVICE_USER..."
sudo -u $DISCORD_BOT_SERVICE_USER -s
python3 -m venv /home/$DISCORD_BOT_SERVICE_USER/venv
source /home/$DISCORD_BOT_SERVICE_USER/venv/bin/activate
python3 -m pip install discordbotlinuxmonitor
deactivate
exit

# Create the Discord bot folder where you should put the json file
sudo mkdir $DISCORD_BOT_FOLDER

### Create a systemd service file for the Discord bot ###
cat <<EOF > $DISCORD_BOT_SERVICE_FILE
[Unit]
Description=Discord Bot Linux Monitor Service
After=network.target

[Service]
ExecStart=/home/$DISCORD_BOT_SERVICE_USER/venv/bin/python3 -m discordbotlinuxmonitor --config_file ${DISCORD_BOT_FOLDER}config.json
WorkingDirectory=$DISCORD_BOT_FOLDER
User=$DISCORD_BOT_SERVICE_USER
Group=$DISCORD_BOT_SERVICE_GROUP
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target
EOF

echo "Service file created at $DISCORD_BOT_SERVICE_FILE"

### Reload systemd to recognize the new service ###
echo "Reloading systemd..."
sudo systemctl daemon-reload

### Enable and start the service ###
echo "Enabling and starting the Discord bot service..."
sudo systemctl enable $DISCORD_BOT_SERVICE_NAME
```
 - Copy your config file into `$DISCORD_BOT_FOLDER/config.json`
 - Launch the service: `sudo systemctl start $DISCORD_BOT_SERVICE_NAME`

## License

This project is under MIT license. This means you can use it as you want (just don't delete the library header).

## Contribute

If you want to add more examples or improve the library, just create a pull request with proper commit message and right wrapping.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library",
    "name": "DiscordBotLinuxMonitor",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.3",
    "maintainer_email": null,
    "keywords": "discord bot warning info linux monitor monitoring server service port ping ssl certificate disk folder cpu ram swap usage ip connection",
    "author": "Quentin Comte-Gaz",
    "author_email": "quentin@comte-gaz.com",
    "download_url": "https://files.pythonhosted.org/packages/3f/09/d781a597d1b7da6b27f09e4d71c2d32b998e143338bf17641ee8b8833c5f/discordbotlinuxmonitor-1.5.1.tar.gz",
    "platform": "Linux",
    "description": "# Discord Bot Linux Monitor (Python library)\n[![PyPI version](https://badge.fury.io/py/DiscordBotLinuxMonitor.svg)](https://pypi.org/project/DiscordBotLinuxMonitor/) [![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/blob/master/LICENSE.md) [![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/QuentinCG) [![Downloads](https://static.pepy.tech/badge/DiscordBotLinuxMonitor)](https://pepy.tech/project/DiscordBotLinuxMonitor) [![Downloads](https://static.pepy.tech/badge/DiscordBotLinuxMonitor/month)](https://pepy.tech/project/DiscordBotLinuxMonitor)\n\n## What is it\n\nThis python library is designed to be used as a Linux service to monitor the Linux server manually with discord commands and to send warning or information of the Linux server status to a discord channel periodically (if relevant).\n\nIt is possible to have separate 'private discord channel' and 'public discord channel' for:\n - Sendind discord commands to the bot (visual example in next section)\n - Getting periodic status of the Linux server (doing periodically some commands from next section)\n - Getting warnings if there is an issue in the Linux server (periodic status check)\n\nExample of warning:\n  <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/warning_from_periodic_check.jpg\" height=\"400\">\n\nIt is compatible with python 3+ and usable only on Linux.\n\n<img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/discord.png\" width=\"300\">\n\n## List of Discord commands:\n\n### Public and private discord channel commands\nDisplayed 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)\n\n - `/usage`: \ud83d\udcca View disk space, Load average, CPU, RAM, ... \ud83d\udcca\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/usage.jpg\" height=\"400\">\n\n - `/os_infos`: \ud83d\udda5 View basic system information \ud83d\udda5\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/os_infos.jpg\" height=\"300\">\n\n - `/ping`: \ud83c\udf10 Ping websites \ud83c\udf10\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/ping.jpg\" height=\"150\">\n\n - `/websites`: \ud83c\udf10 Check websites access (GET requests) \ud83c\udf10\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/websites.jpg\" height=\"150\">\n\n - `/certificates`: \ud83d\udd12 Check SSL certificates \ud83d\udd12\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/certificates.jpg\" height=\"400\">\n\n - `/services_status`: \ud83e\ude7a Check services are running \ud83e\ude7a\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/services_status.jpg\" height=\"150\">\n\n - `/restart_all`: \ud83d\ude80 Restart all services \ud83d\ude80\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/restart_all.jpg\" height=\"150\">\n\n - `/restart_service {service_name}`: \ud83d\ude80 Restart a service \ud83d\ude80\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/restart_service.jpg\" height=\"150\">\n\n - `/stop_service {service_name}`: \ud83d\udeab Stop a service \ud83d\udeab\n\n - `/list_services`: \ud83d\udccb List all available services \ud83d\udccb\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/list_services.jpg\" height=\"150\">\n\n - `/ports`: \ud83d\udd12 Check ports \ud83d\udd12\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/ports.jpg\" height=\"200\">\n\n - `/list_commands`: \ud83d\udccb List all available commands \ud83d\udccb\n\n - `/execute_command`: \ud83d\ude80 Execute a command \ud83d\ude80\n\n - `/execute_all_commands`: \ud83d\ude80 Execute all commands \ud83d\ude80\n\n### Private discord channel commands:\n - `/force_sync`: \ud83d\udd04 Force discord command synchronization \ud83d\udd04\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/force_sync.jpg\" height=\"300\">\n\n - `/users`: \ud83d\udc65 View connected users \ud83d\udc65\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/users.jpg\" height=\"150\">\n\n - `/user_logins`: \ud83d\udc65 View last user connections \ud83d\udc65\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/user_logins.jpg\" height=\"150\">\n\n - `/reboot_server`: \ud83d\udd04 Restart the entire server \ud83d\udd04\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/reboot_server.jpg\" height=\"100\">\n\n - `/list_processes`: \ud83d\udccb List active processes \ud83d\udccb\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/list_processes.jpg\" height=\"200\">\n\n - `/kill_process`: \ud83d\udeab Stop a process by PID \ud83d\udeab\n <img src=\"https://raw.githubusercontent.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/master/example/kill_process.jpg\" height=\"200\">\n\n## How to install (for first launch)\n\n  - Install package calling `python -m pip install discordbotlinuxmonitor` (or `python setup.py install` from the root of this repository)\n  - Copy and edit [config-example.json file](https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/blob/master/config-example.json) depending on your need (on first launch, remove all `restart_command` from config file to prevent potential looping service restart issues on your server in case your config file is not well configured)\n  - Launch the lib for testing it works:\n```shell\n# Get help\npython3 -m discordbotlinuxmonitor --help\n# Use \"--debug\" to show more information during command\n# Use \"--nodebug\" to not show any warning information during command\n\n# Start the discord bot Linux monitor (First time)\npython3 -m discordbotlinuxmonitor --config_file config-example.json --force_sync_on_startup --debug\n\n# Start the discord bot Linux monitor (after first time)\npython3 -m discordbotlinuxmonitor --config_file config-example.json\n```\n  - Go to discord (restart discord if you were already in it)\n  - You should see welcome messages on channels you configured in the config file and be able to communicate with the bot using command defined in previous section\n\n\n## How to install this lib as a service (to keep it running in the Linux server as a monitor)\n\n  - Stop the discord bot and create a service to have it running even after computer reboot:\n```sh\n### Define all base info\nDISCORD_BOT_SERVICE_USER=\"discordbotlinuxmonitor\"\nDISCORD_BOT_SERVICE_GROUP=\"discordbotlinuxmonitor\"\nDISCORD_BOT_SERVICE_NAME=\"discord-bot\"\nDISCORD_BOT_SERVICE_FILE=\"/etc/systemd/system/${DISCORD_BOT_SERVICE_NAME}.service\"\nDISCORD_BOT_FOLDER=\"/opt/DiscordBot/\"\n\n### Add rights to user launching the library depending on what you want it to do ###\n# Only if this library should be able to reboot the server on demand:\necho \"$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /sbin/reboot\" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER\n# Only if this library should be able to kill a process on demand:\necho \"$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /bin/kill\" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER\n# Add also all processes added in your config JSON file you want the library to be able to execute\n# Example for the existing config-example.json file:\necho \"$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /bin/systemctl\" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER\necho \"$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /etc/init.d/apache2\" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER\necho \"$DISCORD_BOT_SERVICE_USER ALL=(ALL) NOPASSWD: /etc/init.d/mariadb\" >> /etc/sudoers.d/$DISCORD_BOT_SERVICE_USER\n\n### Create a specific user and group to launch the discord bot service ###\necho \"Creating user $DISCORD_BOT_SERVICE_USER...\"\nsudo useradd -r -s /usr/sbin/nologin $DISCORD_BOT_SERVICE_USER\nsudo mkdir -p /home/$DISCORD_BOT_SERVICE_USER\nsudo chown $DISCORD_BOT_SERVICE_USER:$DISCORD_BOT_SERVICE_GROUP /home/$DISCORD_BOT_SERVICE_USER\nsudo usermod -d /home/$DISCORD_BOT_SERVICE_USER $DISCORD_BOT_SERVICE_USER\n\n### Install DiscordBotLinuxMonitor lib for the user ###\necho \"Installing DiscordBotLinuxMonitor for user $DISCORD_BOT_SERVICE_USER...\"\nsudo -u $DISCORD_BOT_SERVICE_USER -s\npython3 -m venv /home/$DISCORD_BOT_SERVICE_USER/venv\nsource /home/$DISCORD_BOT_SERVICE_USER/venv/bin/activate\npython3 -m pip install discordbotlinuxmonitor\ndeactivate\nexit\n\n# Create the Discord bot folder where you should put the json file\nsudo mkdir $DISCORD_BOT_FOLDER\n\n### Create a systemd service file for the Discord bot ###\ncat <<EOF > $DISCORD_BOT_SERVICE_FILE\n[Unit]\nDescription=Discord Bot Linux Monitor Service\nAfter=network.target\n\n[Service]\nExecStart=/home/$DISCORD_BOT_SERVICE_USER/venv/bin/python3 -m discordbotlinuxmonitor --config_file ${DISCORD_BOT_FOLDER}config.json\nWorkingDirectory=$DISCORD_BOT_FOLDER\nUser=$DISCORD_BOT_SERVICE_USER\nGroup=$DISCORD_BOT_SERVICE_GROUP\nRestart=always\nRestartSec=3\n\n[Install]\nWantedBy=multi-user.target\nEOF\n\necho \"Service file created at $DISCORD_BOT_SERVICE_FILE\"\n\n### Reload systemd to recognize the new service ###\necho \"Reloading systemd...\"\nsudo systemctl daemon-reload\n\n### Enable and start the service ###\necho \"Enabling and starting the Discord bot service...\"\nsudo systemctl enable $DISCORD_BOT_SERVICE_NAME\n```\n - Copy your config file into `$DISCORD_BOT_FOLDER/config.json`\n - Launch the service: `sudo systemctl start $DISCORD_BOT_SERVICE_NAME`\n\n## License\n\nThis project is under MIT license. This means you can use it as you want (just don't delete the library header).\n\n## Contribute\n\nIf you want to add more examples or improve the library, just create a pull request with proper commit message and right wrapping.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "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)",
    "version": "1.5.1",
    "project_urls": {
        "Homepage": "https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library"
    },
    "split_keywords": [
        "discord",
        "bot",
        "warning",
        "info",
        "linux",
        "monitor",
        "monitoring",
        "server",
        "service",
        "port",
        "ping",
        "ssl",
        "certificate",
        "disk",
        "folder",
        "cpu",
        "ram",
        "swap",
        "usage",
        "ip",
        "connection"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "78197ce0d3e1a8515d3fc3fc4c39032fac02e78f410c10dfadb70bd3bb7f6931",
                "md5": "c6a9d857cc8ff0e35eb3c76b47258111",
                "sha256": "72636ed9cd79bd327f9ee565fb2686f5623dea49c07d1a8063230545c3b3a019"
            },
            "downloads": -1,
            "filename": "DiscordBotLinuxMonitor-1.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c6a9d857cc8ff0e35eb3c76b47258111",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.3",
            "size": 13207,
            "upload_time": "2024-11-03T16:06:32",
            "upload_time_iso_8601": "2024-11-03T16:06:32.466969Z",
            "url": "https://files.pythonhosted.org/packages/78/19/7ce0d3e1a8515d3fc3fc4c39032fac02e78f410c10dfadb70bd3bb7f6931/DiscordBotLinuxMonitor-1.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3f09d781a597d1b7da6b27f09e4d71c2d32b998e143338bf17641ee8b8833c5f",
                "md5": "237bbdc6d8d7dcfa97a8f8efae45ebe8",
                "sha256": "60b94bd8fae9638f451d4c41a8806a9a16d9d95f67c078384aec287ab2219318"
            },
            "downloads": -1,
            "filename": "discordbotlinuxmonitor-1.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "237bbdc6d8d7dcfa97a8f8efae45ebe8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.3",
            "size": 12590,
            "upload_time": "2024-11-03T16:06:34",
            "upload_time_iso_8601": "2024-11-03T16:06:34.019602Z",
            "url": "https://files.pythonhosted.org/packages/3f/09/d781a597d1b7da6b27f09e4d71c2d32b998e143338bf17641ee8b8833c5f/discordbotlinuxmonitor-1.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-03 16:06:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "QuentinCG",
    "github_project": "Discord-Bot-Linux-Monitor-Python-Library",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "discordbotlinuxmonitor"
}
        
Elapsed time: 0.40391s