![background image](http://html.mh-extra.com/html/nec/n8100-1668f/n8100-1668f_user-manual_251356561.webp)
Accessing Power and Performance Data I-3
INLET AIR TEMPERATURE
Run the following IPMI commands to access the SDR (Sensor Data Record) and obtain an inlet air
temperature data.
Get SDR Repository Info
Reserve SDR Repository
Get SDR
Get Sensor Reading
Shown below is an example of the file created by Visual Basic Script (e.g. Sensor.vbs).
'Start Script
Option Explicit
' Prepare for MS IPMI Driver
Dim osvc, oclass
Dim oinstance, oipmi
set osvc = getobject("winmgmts:root\wmi")
set oclass = osvc.get("microsoft_ipmi")
for each oinstance in osvc.instancesof("microsoft_ipmi")
set oipmi = oinstance
next
' (Get SDR Repository Info)
Dim oinparams
set oinparams = oclass.methods_("requestresponse").inparameters
' (Get SDR Repository Info)
oinparams.networkfunction = &ha
oinparams.lun = 0
oinparams.responderaddress = &h20
oinparams.command = &h20
oinparams.requestdatasize = 0
' Fire IPMI Command
Dim outparams
Dim i, RecordCount
set outparams = oipmi.execmethod_("requestresponse",oinparams)
RecordCount = outparams.ResponseData(3)*256 + outparams.ResponseData(2)
' (Reserve SDR Repository)
oinparams.networkfunction = &ha
oinparams.lun = 0
oinparams.responderaddress = &h20
oinparams.command = &h22
oinparams.requestdatasize = 0
Dim Reserve_LS, Reserve_MS
set outparams = oipmi.execmethod_("requestresponse",oinparams)
Reserve_LS = outparams.ResponseData(1)
Reserve_MS = outparams.ResponseData(2)
Summary of Contents for N8100-1668F
Page 60: ...2 28 General Description This page is intentionally left blank ...
Page 146: ...5 8 Installing the Operating System with Express Setup Flow of Setup ...
Page 173: ...Installing the Operating System with Express Setup 5 35 Flow of Setup ...
Page 255: ...Installing and Using Utilities 6 13 Windows Server 2003 ...
Page 282: ...7 14 Maintenance This page is intentionally left blank ...
Page 339: ...Troubleshooting 8 57 When you use a remote console 6 Each tool is selected and it starts ...
Page 422: ...9 78 Upgrading Your Server This page is intentionally left blank ...
Page 440: ...C 2 IRQ This page is intentionally left blank ...
Page 464: ...D 24 Installing Windows Server 2008 R2 4 Activate Windows The Windows activation is complete ...
Page 495: ...Installing Windows Server 2008 E 29 4 Activate Windows The Windows activation is complete ...
Page 558: ...H 2 Using a Client Computer Which Has a CD Drive This page is intentionally left blank ...
Page 568: ...I 10 Accessing Power and Performance Data This page is intentionally left blank ...
Page 572: ...J 4 Product Configuration Record Table This page is intentionally left blank ...