HP iLO 3 Scripting and Command Line Guide

PCAP MODE="OFF"
EFFICIENCY_MODE="1"
PWRALERT TYPE="PEAK" THRESHOLD="250" DURATION=5
GET_HOST_POWER HOST_POWER="ON"/>
Where:
PCAP mode is either set to MAN followed by a positive integer, or set to OFF.
EFFICIENCY_MODE is a number between 1 and 4:
1 — PWRREGMODE_OS_CONTROL
2 — PWRREGMODE_STATIC_LOW
3 — PWRREGMODE_DYNAMIC
4 — PWRREGMODE_STATIC_HIGH
GET_HOST_POWER reports whether the virtual power button is enabled.
GET_PWREG runtime errors
Possible GET_PWREG runtime errors:
Feature not supported.
This feature requires an installed license key.
SET_PWREG
The SET_PWREG command sets the power alert threshold for iLO 3 devices. For this command to
parse correctly, the SET_PWREG command must appear within a SERVER_INFO command block,
and SERVER_INFO MODE can be set to write. You must purchase the iLO Advanced license to
enable this feature.
For example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminame" PASSWORD="password">
<SERVER_INFO MODE="write">
<SET_PWREG>
<PWRALERT TYPE="PEAK"/>
<PWRALERT_SETTINGS THRESHOLD="200" DURATION="35"/>
</SET_PWREG>
</SERVER_INFO>
</LOGIN>
</RIBCL>
SET_PWREG parameters
PWRALERT TYPE—Valid values are:
DISABLED—No power alerts are set.
PEAK—Represents the half-second average power reading during the sample.
AVERAGE—Represents the mean power reading during the sample.
PWRALERT_SETTINGS
THRESHOLD—Sets the alert threshold, in watts.
DURATION—Sets the length of the sample time, in minutes, starting at 5. Duration will always
be in 5 minute intervals up to 240 minutes maximum. Any positive integer can be used, but
it will be rounded off to the nearest 5.
132 RIBCL XML Scripting Language