返回顶部
i

idrac

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
656
下载量
0
收藏
概述
安装方式
版本历史

idrac

# iDRAC Skill Monitor and manage Dell PowerEdge servers via iDRAC Redfish API. ## First-Time Setup Create a config file at `~/.config/idrac-skill/config`: ```bash mkdir -p ~/.config/idrac-skill cat > ~/.config/idrac-skill/config <<'EOF' # iDRAC connection settings IDRAC_IP="<your-idrac-ip>" # Credential source: "1password" | "file" | "env" CREDS_SOURCE="file" # For CREDS_SOURCE="1password": # OP_ITEM="<1password-item-name>" # # For CREDS_SOURCE="file": # Create ~/.idrac-credentials with contents: username:password # chmod 600 ~/.idrac-credentials # # For CREDS_SOURCE="env": # Export IDRAC_USER and IDRAC_PASS EOF ``` ## Authentication The helper script supports three credential sources: | Source | Config | How It Works | |--------|--------|--------------| | **1password** | `OP_ITEM="item-name"` | Pulls username:password via `op` CLI, caches to `~/.idrac-credentials` | | **file** | (default) | Reads `~/.idrac-credentials` (format: `user:pass`, mode 600) | | **env** | — | Uses `$IDRAC_USER` and `$IDRAC_PASS` environment variables | ## Helper Script Location: `scripts/idrac.sh` (relative to this skill directory) ```bash idrac.sh test # Test connectivity and authentication idrac.sh status # System summary (model, power, CPU, memory) idrac.sh health # Health checks (temps, fans, power) idrac.sh power # Current power state idrac.sh inventory # Full hardware inventory idrac.sh logs # Recent system event log entries (last 10) idrac.sh thermal # Detailed temperature and fan status idrac.sh storage # RAID/disk status idrac.sh reset-types # Available power reset types ``` ## Workflow 1. **Load config** from `~/.config/idrac-skill/config` 2. **Hydrate credentials** (JIT pattern) if needed 3. **Determine operation type:** - **Read-only** (status, health, logs, inventory) → Execute directly - **Destructive** (power off, restart, BIOS changes) → Confirm with user first 4. **Query Redfish API** via curl + Basic Auth (or session token for batch ops) 5. **Parse JSON** with jq 6. **Surface findings** to user in natural language 7. **Never expose credentials** in responses ## Endpoint Reference For raw Redfish API endpoints (system info, thermal, storage, network, logs, power ops, BIOS, firmware, session auth, Dell OEM attributes): → See [references/endpoints.md](references/endpoints.md) ## Security Notes - **Never log or display credentials** — use `--silent` and pipe to jq - **Credential file** must be mode 600 (`chmod 600 ~/.idrac-credentials`) - **TLS verification disabled** (`-k`) — iDRAC uses self-signed certs (acceptable for private networks) - **Power operations are destructive** — confirm with user before executing shutdown/restart ## Compatibility Works with Dell iDRAC 8 (Redfish 1.0–1.4) and iDRAC 9 (Redfish 1.6+). Covers PowerEdge 13th gen (R630/R730) through current gen. See endpoints reference for version-specific notes. **Note:** iDRAC 8 API responses can take 5–10s per call. The `test` command makes 4 sequential calls (~30–40s total). Set exec timeouts accordingly. iDRAC 9 is significantly faster.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 idrac-1776420056 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 idrac-1776420056 技能

通过命令行安装

skillhub install idrac-1776420056

下载 Zip 包

⬇ 下载 idrac v1.1.0

文件大小: 7.07 KB | 发布时间: 2026-4-17 19:42

v1.1.0 最新 2026-4-17 19:42
Add metadata.openclaw (requires curl/jq, os filter). Declare credential file writes and network behavior in description. Improve dependency transparency for security scanners.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部