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

disk-usage-watcher

bởi nidalghetf

Web & Frontend Development
249Lượ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

Monitors disk space and inode usage on specified paths, sending alerts when thresholds are exceeded.

Mô tả

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

Monitors disk space and inode usage across specified paths, sending alerts when configured thresholds are exceeded. Runs on demand or automatically every 15 minutes via cron.

Automated threshold alerts catch disk issues before they cause failures, removing the need for manual spot checks.

Khi nào nên dùng

  • Alert before a production server runs out of disk space
  • Track inode exhaustion on high-file-count directories
  • Monitor specific mount points after a large data ingestion
  • Schedule routine disk checks without manual intervention
  • Get notified when a backup partition fills unexpectedly

Quy trình ví dụ

ĐẦU VÀO

User asks: Monitor all mount points and alert at 85%

AGENT
  1. 1

    Receives threshold_percent=85 and inode_threshold=85 with no specific paths set

  2. 2

    Calls openclaw/exec to run df against all mounted partitions

  3. 3

    Parses usage percentages for each mount point and inode counts

  4. 4

    Compares results against the 85% threshold

  5. 5

    Calls openclaw/notify for any mount points that exceed the threshold

ĐẦU RA

Status report listing all mount points with usage percentages and alerts sent for any that exceeded 85%

Cài đặt

clawhub install nidalghetf/disk-usage-watcher

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