| name | disk-monitor |
| description | Use when the user asks to check disk status, report on hard disk health, temperature, or SMART data, or when performing routine server maintenance. |
Disk Monitor
Overview
This skill provides tools and guidelines for checking the health status of hard drives across the infrastructure using SMART data. It generates human-readable reports and helps identify disks that need replacement or monitoring.
When to Use
- User asks about server disk health, temperature, or SMART data.
- Performing routine server maintenance checks.
- Investigating system performance issues that might be caused by failing disks.
不适用
- 需要修盘、分区、格式化或替换磁盘的具体运维操作
- 没有网络访问 Scrutiny API、也没有本地 SMART 数据来源的环境
- 只想看磁盘容量占用,而不是健康度、温度、寿命或历史趋势
Checking Disk Health
To check the current health of all disks, execute the included script. Because your working directory may vary, you should use the absolute path to the script:
python3 ./scripts/disk-health-check.py
(Run from within the skill directory, or use the absolute path scripts/disk-health-check.py relative to this skill)
Automation & AI Processing
To export structured tabular data containing pure integer measurements (ideal for AI parsing, parsing loops, or monitoring stacks like Zabbix/Prometheus), add the --csv flag:
python3 ./scripts/disk-health-check.py --csv
Understanding the Output
The script outputs a formatted table containing:
- 主机 (Host): The machine hosting the drive.
- 型号 (Model): The specific model of the drive.
- 温度 (Temperature): Current operating temperature. High temperatures (>50°C) will trigger warnings.