disk-usage-watcher
nidalghetf 제작
Web & Frontend Development요약
Monitors disk space and inode usage on specified paths, sending alerts when thresholds are exceeded.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
User asks: Monitor all mount points and alert at 85%
- 1
Receives threshold_percent=85 and inode_threshold=85 with no specific paths set
- 2
Calls openclaw/exec to run df against all mounted partitions
- 3
Parses usage percentages for each mount point and inode counts
- 4
Compares results against the 85% threshold
- 5
Calls openclaw/notify for any mount points that exceed the threshold
Status report listing all mount points with usage percentages and alerts sent for any that exceeded 85%
설치
clawhub install nidalghetf/disk-usage-watcherCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.