Gurpreet Singh wrote: > > I was looking at the sensor information of Intel 1U machine and here > is the extracted information for Hard drives. I was wondering about > the status field and was not able to decode these values. Here is the > output of the sensor information for hard drives: > > Drv 1 Pres | 0x0 | discrete | * 0x0180*| na | > na | na | na | na | na > Drv 2 Pres | 0x0 | discrete | *0x0180* | na | > na | na | na | na | na > Drv 3 Pres | 0x0 | discrete | 0x0080| na | > na | na | na | na | na > > Can anyone let me know how what are the possible values of status > field and how to decode them. Can these values be replaced in human > readable format so i dont have to decode it everytime. This is more of an ipmitool question than an openipmi question. Decoding of these requires reading the IPMI spec if the sensor is standard enough. Plus you have to know the sensor type, etc. Lots of sensors have OEM extensions; you will need to get that info from your vendor if that is the case.
The OpenIPMI library does more decoding than this, but is harder to use. I don't know if it will decode these values. > > Also, is there a way to pull out only required information about > components from BMC rather than extracting complete SDR. For e.g. > pulling out only Fan, Processor information. There is no standard way to do this without pulling the SDRs. With the OpenIPMI library, you can write tools (or use the GUI) that stay up all the time, get the SDRs once, and monitor the information you want. If you want to decode the information yourself, you can directly send the IPMI commands to fetch the sensor values. If the sensors change, though, your values will be bogus without you knowing it. -Corey ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
