2011/6/27 Al Chu <address@hidden>
thanks for your answer
On Sat, 2011-06-25 at 15:46 -0700, Arnaud Quette wrote:Thanks.
> IPMI fellows,
> first, congrats for the FreeIPMI project. it's a cool piece of
> software ;-)
It depends on what you're trying to develop. A few libs, like
> I'm currently having a look at IPMI to implement a PSU monitor driver
> for the NUT project:
> I've had a look at the various IPMI implementations out there, and
> FreeIPMI seems the most suitable.
> I've then had a look at FreeIPMI docs, code, svn, examples, contrib,
> and there I got lost!
> the code is very complex and hidden in many abstraction layers. And
> docs and examples are not very helpful.
> I also don't see pkg-config supports files (.pc).
> Have I missed something? or isn't it developer friendly :(
libipmimonitoring and libipmiconsole are very suitable for high level
views of IPMI. It's what a number of other developers use to do IPMI
stuff for monitoring and console access.
However, most of what's in libfreeipmi is at an abstraction level where
you need to know details from the IPMI specification to know what you're
So what I gather is that you're looking to be able to program access to
> I've got the attached output from ipmi-fru and ipmi-sensors
> I'd like to do the exact same thing (ie identify and get all PSU
> information and events), but looking at the code and docs, I still
> don't see the light.
the FRU and sensors, rather than do it via scripts from the tools?
With the current library everything you need is there. But it's not at
an abstraction level that will probably give you a very easy interface.
this is indeed the conclusion I came to.
I can describe in more detail the steps you'd have to take if you're