Giter Site home page Giter Site logo

mgcnb666 / kuzco-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from doge-8/kuzco-monitor

0.0 0.0 0.0 62 KB

一键多开启动并实时监测 Kuzco 运行状态,确保正常运行\One-click multi-instance startup and real-time monitoring of Kuzco's operational status to ensure normal operation.

Python 100.00%

kuzco-monitor's Introduction

Kuzco 监控脚本

需要你的点赞关注! X 账户:https://x.com/188888_x

简介

本脚本旨在一键多开启动并监控 Kuzco 在特定时间内产生的任务完成情况,以判断其运行状态是否异常。一旦监测到没有任务完成产生,则会自动重启 Kuzco。

功能特点

  • 一键多开启动并实时监测 Kuzco 运行状态,确保正常运行。
  • 支持自动重启功能,保障系统稳定性。
  • 可选择性地启用 DC 推送功能,若不需要可轻松禁用。

使用说明

  1. 在脚本开头可以轻松更改需要的参数。
  2. 如何启用 DC 推送功能:
    • 填入你的webhook地址(创建 Webhook 机器人方法简单,详细步骤可参考谷歌搜索结果。)
    • 启动脚本时直接按回车键
  3. 如果需要禁用 DC 推送功能,在启动时输入 1 启用。

环境要求

  • 确保系统已安装 Python 3。(ubuntu22.04有默认安装)
  • 若系统未安装 Python 3,可通过谷歌搜索安装方法。
  • 安装 Python 后,脚本可在所有平台通用。

使用方法

在终端中运行以下命令启动脚本:

python3 kz.sh

#EN

Kuzco Monitoring Script

Don't forget to like and follow! X account: https://x.com/188888_x

Introduction

This script aims to start and monitor Kuzco in multiple instances at specific times to determine if its task completion status is abnormal. If no tasks are completed, the script will automatically restart Kuzco.

Features

  • One-click multi-instance startup and real-time monitoring of Kuzco's operational status to ensure normal operation.
  • Supports automatic restart functionality to ensure system stability.
  • Optionally enable DC push notifications, which can be easily disabled if not needed.

Instructions

  1. You can easily change the required parameters at the beginning of the script.
  2. How to enable the DC push notification feature:
    • Enter your webhook address (creating a Webhook bot is simple, detailed steps can be found via Google search).
    • Press the Enter key when starting the script.
  3. To disable the DC push notification feature, enter 1 when starting.

Requirements

  • Ensure that Python 3 is installed on your system (Ubuntu 22.04 has it installed by default).
  • If Python 3 is not installed, you can find installation methods via Google search.
  • Once Python is installed, the script can be used on all platforms.

Usage

Run the following command in the terminal to start the script:

python3 kz.sh

kuzco-monitor's People

Contributors

doge-8 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.