HP Retail Manageability - White Paper

2
CPU Fan Speed, Front Chassis Fan Speed, Rear Chassis Fan Speed, Power Supply
Fan Speed, and CPU Thermal Index.
With HP CMI, Power On Self Test (POST) events will be surfaced into WMI if the
system successfully boots into Windows®. General WMI alerts will also be
surfaced for the following conditions:
Fan Stall: If one of the system fans falls below its specified threshold, the system
will generate an alert indicating which fan has stalled. Note that this does not
cover the fan built into the power supply.
Thermal Over-temp: If one of the thermal sensors within the platform exceeds its
threshold, an event is surfaced indicating which sensor triggered the fault (e.g.,
CPU or Chassis)
Hood Removal: For systems with this feature, the platform will also fire a WMI
event if the hood has been removed. This condition is only checked during the
system POST operation and flagged once regardless if the hood was removed
and replaced multiple times. On the next successive system boot, the flag is
reported to WMI.
The fan stall and thermal over-temp sensors will also create WMI events when they
de-assert or fall out of failing condition. Management agents can also forward all
of these WMI events to the management console.
The namespace for HP CMI is root\hp\instrumentedbios, which can be viewed
with WMI CIM Studio and similar tools. WMI CIM Studio is included in WMI
Tools, which can be downloaded from the Microsoft Download Center [1]. It can
be accessed programmatically using any language capable of supporting
Component Object Model (COM), PowerShell, or scripting languages under
Windows® Scripting Host. For example, the following VBScript enumerates the
available sensors:
Const wbemFlagReturnImmediately = 16
Const wbemFlagForwardOnly = 32
lFlags = wbemFlagReturnImmediately +
wbemFlagForwardOnly
strService =
"winmgmts:{impersonationlevel=impersonate}//"
strComputer = "."
strNamespace = "/root/HP/InstrumentedBIOS"
strQuery = "select * from HP_BIOSSensor"
Set objWMIService = GetObject(strService & strComputer
& strNamespace)
Set colItems =
objWMIService.ExecQuery(strQuery,,lFlags)
Counter = 1
For Each objItem In colItems
WScript.Echo Counter & vbTab & objItem.Name
Counter = Counter + 1
Next
The same information can be obtained using PowerShell: