跳到正文
TakoAPI
返回技能列表

infra-watchdog

由 mariusfit 提供

Coding Agents & IDEs
392下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Self-hosted infrastructure monitoring for OpenClaw agents.

描述

该技能的功能

Infra Watchdog monitors self-hosted infrastructure locally without external SaaS dependencies. It checks HTTP endpoints, TCP ports, Docker containers, system resources, SSL certificates, DNS resolution, and Proxmox VMs. Alerts are delivered via WhatsApp, Telegram, or Discord with configurable cooldown periods.

Runs entirely on your own machine with no SaaS account or subscription required, keeping all monitoring data local in SQLite.

何时使用

  • Get alerted when a self-hosted API goes down
  • Monitor SSL certificate expiry 30 days in advance
  • Track Docker container health across a homelab stack
  • Receive disk usage warnings before services crash
  • Watch Proxmox VM and container status via local API

示例工作流

输入

User asks: monitor my PostgreSQL port and alert me on Telegram if it goes down

智能体
  1. 1

    Runs infra-watchdog init to set up the data directory and default config

  2. 2

    Edits config.json to set alert_channel to telegram

  3. 3

    Runs infra-watchdog add-monitor --type tcp --name "PostgreSQL" --host localhost --port 5432

  4. 4

    Runs infra-watchdog cron-install to schedule checks every 5 minutes

  5. 5

    Runs infra-watchdog dashboard to confirm the monitor appears and is UP

输出

PostgreSQL TCP monitor is active; a Telegram alert fires automatically if port 5432 becomes unreachable

前置要求

  • Docker (only if monitoring Docker containers)

安装

clawhub install mariusfit/infra-watchdog

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接