Skip to main content

IPMI CLI Documentation

IPMI (Intelligent Platform Management Interface) is a protocol used for managing servers independently of the operating system. It enables out-of-band monitoring, diagnostics, and management, providing administrators with access to system health, event logs, and power control. Refer to Intelligent Plaform Management Interface for more details.

The MetricsHub IPMI CLI allows users to execute IPMI-over-LAN queries to monitor and manage remote servers. It supports authentication via username/password and BMC keys.

Before using the CLI, ensure your platform supports IPMI monitoring by checking the Supported Platforms.

Syntax

ipmicli HOSTNAME --username USERNAME --password PASSWORD --bmc-key KEY --timeout TIMEOUT --skip-auth BOOLEAN

Options

OptionDescriptionDefault Value
HOSTNAMEHostname or IP address of the system to monitor.None
--usernameUsername for IPMI-over-LAN authentication.None
--passwordPassword for IPMI-over-LAN authentication. If not provided, you will be prompted interactively.None
--bmc-keyBMC key for two-key authentication in hexadecimal format.None
--skip-authSet to true to skip authentication for IPMI queries.false
--timeoutTimeout in seconds for IPMI operations.120
-vEnables verbose mode. Use -v for basic logs, -vv for detailed logs.None
-h, --helpDisplays detailed help information about available options.None

Examples

Example 1: Basic IPMI Query with Authentication

ipmicli dev-01 --username admin --password secret --timeout 60

Example 2: Basic IPMI Query with BMC Key

ipmicli dev-01 --username admin --password secret --bmc-key AE4C7AB47FD --timeout 120

Example 3: IPMI Query Skipping Authentication

ipmicli dev-01 --skip-auth true --timeout 90

Example 4: IPMI Query with Interactive Password Input

ipmicli dev-01 --username admin

The CLI prompts for the password if not provided.