Intake Air Temperature - NEC Express5800 Series Maintenance Manual

Express server
Hide thumbs Also See for Express5800 Series:
Table of Contents

Advertisement

Chapter 3 Appendix
WScript.Echo " Power Consumption = " & outparams.ResponseData(3)*256 + _
End If
' End Script
Execution example
C:¥VBS> cscript //nologo Power.vbs
Execution result
Completion Code = 0x0
Power Consumption = 306 watts
The power consumption is 306 watts.
3.1.2

Intake air temperature

Execute the following standard commands that conform to IPMI to search the SDR (Sensor Data Record) for
the temperature sensor and obtain intake air temperature data.
Get SDR Repository Info
Reserve SDR Repository
Get SDR
Get Sensor Reading
Below is the sample file created by using 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
144
3. Accessing Data for Electric Power, Temperature, and Processor Utilization
outparams.ResponseData(2) & " watts"
Tips
Power consumption readings may not be acquired depending on the power supply
configuration of the server.
The completion code in such cases is 0xC1.
Express5800/E120d-1 Maintenance Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Express5800/e120d-1

Table of Contents