AgentSkillsCN

syno-storage

查询Synology NAS的存储状态——卷使用率、磁盘健康状况、RAID状态。

SKILL.md
--- frontmatter
name: syno-storage
description: Query Synology NAS storage status — volume usage, disk health, RAID status.
disable-model-invocation: true

Synology Storage Status

Query the Synology NAS for storage information via the DSM Web API.

Workflow

1. Authenticate

Use the shared auth flow from the plugin context.

2. Query Storage

Volume Info (capacity, usage):

bash
curl -s -k "https://${SYNOLOGY_HOST}:5001/webapi/entry.cgi?api=SYNO.Core.Storage.Volume&version=1&method=list&_sid=${SID}"

Disk Info (health, temperature, model):

bash
curl -s -k "https://${SYNOLOGY_HOST}:5001/webapi/entry.cgi?api=SYNO.Core.Storage.Disk&version=1&method=list&_sid=${SID}"

RAID Status:

bash
curl -s -k "https://${SYNOLOGY_HOST}:5001/webapi/entry.cgi?api=SYNO.Core.Storage.Pool&version=1&method=list&_sid=${SID}"

3. Logout

4. Present Results

Format into a storage dashboard:

  • Per-volume: name, total capacity, used space, usage percentage, filesystem status
  • Per-disk: model, serial, temperature, health status (SMART), allocation
  • RAID/Pool: type (SHR, RAID1, etc.), status (healthy/degraded), member disks

Flag alerts for:

  • Volume usage > 85%
  • Disk temperature > 50°C
  • Any non-healthy SMART status
  • Degraded RAID arrays