How to use libipmitool library of ipmiTool?

2.6k Views Asked by At

As given in the below link http://ipmiutil.sourceforge.net/docs/ipmisw-compare.htm That there is a library API for IpmiTool called libipmitool. But I am not able to find any document/link/ or any user/programmer guide for IpmiTool's lib API. I can only find lib API for openIPMI and FreeIPMI. Could you please help in getting information on IpmiTool lib API ?

Thanks S sarath

2

There are 2 best solutions below

0
On

I don't think that such a library exist as it doesn't appear in any search results.

In any case, if your main purpose is to monitor the SDR repository I highly recommend on using ipmimonitoring or libipmimonitoring because it interpret sensor readings rather than just report them. The tool will output if sensors are in NOMINAL, WARNING, or CRITICAL states.

1
On

I face a similar problem like sarath. After some research I was able to use OpenIPMI and its library. After the installation of OpenIPMI I was able to include the OpenIPMI Libs to my Sourcecode.

Here you find a manual to OpenIPMI. Chapter 2.3 give an overlook and a small description of the header files one can include. In Chapter 2.4 and 2.5 you find some sample source code to start with.

Additonal example sourcecode can be found here.

I will give it a try for my work with IPMI stuff.