Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

self-monitor

bởi suryast

DevOps & Cloud
557Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Proactive self-monitoring of infrastructure, services, and health.

Mô tả

Kỹ năng này làm gì

Monitors disk usage, memory, load average, service status, cron jobs, and recent system errors on a schedule or on demand. Auto-fixes safe issues like cleaning old logs and temp files when thresholds are exceeded.

Combines infrastructure metrics, service health, and cron job monitoring into a single automated check with built-in remediation for common issues, avoiding the need to stand up a separate monitoring stack.

Khi nào nên dùng

  • Scheduled 30-minute health checks on a production server
  • Catching disk space critically high before a service crashes
  • Auto-restarting a downed background service
  • Identifying which process is consuming all available memory
  • Spotting repeated cron job failures over the past 24 hours

Quy trình ví dụ

ĐẦU VÀO

User asks: Run a health check on the server

AGENT
  1. 1

    Checks disk, memory, and load average against warning and critical thresholds

  2. 2

    Verifies key processes and systemd services are running

  3. 3

    Scans cron logs for failures in the last 24 hours

  4. 4

    Reviews system journal for errors in the past hour

  5. 5

    Generates a structured markdown report with metric statuses and any actions taken

ĐẦU RA

A health report showing disk at 72%, memory at 81%, load at 1.4, all services up, 0 cron failures, and no recent errors

Cài đặt

clawhub install suryast/self-monitor

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết