Nas system monitor
v1.0.0Monitor NAS system health, disk usage, network status, and auto-alert via Feishu/Discord.
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The README/SKILL.md advertises disk, network (bandwidth/DDoS), service (Docker/process) monitoring and multi-channel alerts (Feishu/Discord/Telegram). monitor.py implements only disk usage, memory, and CPU temperature checks and does not implement network/service monitoring or alert delivery. The SKILL.md references a requirements.txt and FEISHU_WEBHOOK but the registry metadata declares no required env vars and the repo does not include requirements.txt—these are inconsistent with the stated purpose.
Instruction Scope
SKILL.md instructs users to run pip install -r requirements.txt and to set FEISHU_WEBHOOK, but there is no requirements.txt in the manifest and monitor.py does not read FEISHU_WEBHOOK or any webhook env var. The instructions therefore promise external communication that the code does not perform. The code does read local system files (/proc/meminfo, /sys/class/thermal/...) and runs df via subprocess, which is appropriate for local monitoring but should be expected and is limited to local system state.
Install Mechanism
There is no formal install spec (instruction-only skill). This is low-risk from an install perspective. The SKILL.md's pip install suggestion references a missing requirements.txt, which is an inconsistency but not an install-time red flag (no external downloads or archive extraction are specified).
Credentials
SKILL.md asks users to export FEISHU_WEBHOOK but the code does not access that environment variable or any credentials. The registry metadata lists no required env vars. Asking for a webhook secret in the docs without the code using it is disproportionate and confusing; if notification code is added later it would legitimately need webhook URLs, so the mismatch should be resolved before trusting the skill.
Persistence & Privilege
The skill does not request persistent/always-on privileges; flags show always:false and normal user-invocation/autonomous invocation defaults. The code does not modify other skills or system-wide agent settings. No persistence/privilege escalation is indicated.
What to consider before installing
This package appears to be incomplete or inconsistently documented rather than overtly malicious. Before installing or running it: 1) Ask the publisher/maintainer to provide the missing requirements.txt and to clarify which env vars (e.g., FEISHU_WEBHOOK, DISCORD_WEBHOOK) are required. 2) Inspect or request the implementation of _send_notifications — do not provide webhook secrets until you can verify how and where alerts are posted. 3) If you run it, do so on a non-production/isolated system first—the script reads local system files and calls df (expected for monitoring) but currently only prints alerts (no external network calls). 4) Prefer to use a vetted release or verify the GitHub repository history/commits; if notification delivery is added in future changes, re-review that code to ensure it only posts to intended webhook endpoints and doesn't exfiltrate unrelated data.Like a lobster shell, security has layers — review code before you run it.
latest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🖥️ Clawdis
SKILL.md
NAS System Monitor
专为飞牛 NAS 设计的系统监控工具,实时监控健康状态并发送告警。
Features
- 磁盘监控: 使用率、SMART 健康、温度
- 网络监控: 带宽使用、连接状态、DDoS 检测
- 服务监控: Docker 容器、关键进程状态
- 智能告警: 飞书/Discord/Telegram 多渠道通知
Quick Start
# 安装
pip install -r requirements.txt
# 配置告警渠道
export FEISHU_WEBHOOK=your_webhook_url
# 启动监控
python3 monitor.py --interval 60
Alert Rules
| 指标 | 警告阈值 | 紧急阈值 |
|---|---|---|
| 磁盘使用率 | 80% | 90% |
| CPU 温度 | 70°C | 85°C |
| 内存使用率 | 85% | 95% |
| 网络延迟 | 100ms | 500ms |
Supported Platforms
- 飞牛 NAS (Debian 12)
- Synology DSM
- QNAP QTS
- Generic Linux
Files
2 totalSelect a file
Select a file to preview.
Comments
Loading comments…
