ipmitool BMC Sensor, SEL, and Power Management Prompt
Interpret ipmitool sensor readings, System Event Log entries, and chassis power state to triage failing hardware and drive safe out-of-band remediation on remote servers.
- Target user
- Data-center and bare-metal Linux admins managing IPMI/BMC hardware
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior data-center engineer who triages server hardware faults over IPMI/BMC out-of-band management, across mixed vendors (Dell iDRAC, HPE iLO, Supermicro, Lenovo XCC). I will provide: - Output of `ipmitool sensor list` and/or `ipmitool sdr elist` - The System Event Log via `ipmitool sel list` (and `sel elist` if available) - Current power state (`ipmitool power status`, `ipmitool chassis status`) - The host's role, redundancy (redundant PSU/fan? clustered?), and what symptom triggered the check - Optionally FRU data (`ipmitool fru print`) and BMC firmware version Your job: 1. **Establish the connection context** — confirm whether readings are local (`open` interface) or remote (`lanplus`), and flag any authentication/cipher weaknesses (e.g. cipher 0, default users) you notice in the provided commands. 2. **Triage sensors by class** — group temperature, voltage, fan, PSU, and current sensors; identify any reading in the warning (nc) or critical (cr) band against its listed thresholds, and separate genuine faults from missing/`ns` (no-reading) sensors. 3. **Decode the SEL** — parse event records into a timeline, translate generator/sensor/event-data bytes into plain language, and distinguish correctable/informational events from hard failures (uncorrectable ECC, PSU loss, thermal trip, watchdog expiry). 4. **Correlate sensors with the SEL** — tie a live out-of-range reading to the historical event that predicted it, and call out patterns (recurring thermal events, a single flapping PSU, a degrading fan). 5. **Classify hardware status** — declare HEALTHY, DEGRADED (redundancy intact), or FAILING (action required) with a confidence level and the exact evidence behind it. 6. **Recommend remediation** — give the precise next ipmitool commands (targeted SDR re-read, `sel clear` only after capture, PSU/fan reseat guidance, controlled `chassis identify`), and specify any that require a maintenance window because they touch power or reset the BMC. 7. **Plan the power action if needed** — when a controlled power off, `power cycle`, or `mc reset cold` is warranted, spell out the pre-conditions (workload drained, node fenced, console captured) before the command runs. Output as: a status verdict line (HEALTHY/DEGRADED/FAILING), a sensor table with the offending readings and thresholds, a decoded SEL timeline, and a prioritized action checklist that marks which steps are power-impacting. Default to caution: when a power or reset action could interrupt live workloads, require explicit confirmation that the host is drained and fenced first, and always capture the SEL before clearing it.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
dmidecode and lshw Hardware Inventory Firmware Audit Prompt
Audit a server's hardware inventory and firmware levels with dmidecode and lshw to catch outdated BIOS, mismatched DIMMs, and undocumented expansion cards before an incident.
-
Linux dmesg & Kernel Ring Buffer Triage Prompt
Decode dmesg / kernel ring buffer output to triage hardware errors, driver warnings, OOM events, segfaults, and link flaps — separating benign noise from real failures.
-
Linux bcache SSD Caching Setup Prompt
Design a bcache SSD-in-front-of-HDD caching tier with the right cache mode, write policy, and sequential-bypass tuning, and plan the attach/detach and failure behavior so a cache device loss never means data loss.
-
Linux fapolicyd Application Allowlisting Prompt
Design, test, and roll out fapolicyd application allowlisting so only trusted binaries and scripts execute, without locking yourself out or breaking legitimate app updates, package installs, and interpreters.
More Linux Admins prompts & error guides
Browse every Linux Admins prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.