The main FreeIPMI sdr library is in libfreeipmi/include/freeipmi/sdr/ipmi-sdr.h 
(<freeipmi/sdr/ipmi-sdr.h after install) so that could conceivably be used.  
When turning on debuging, it outputs to stderr, so it could just be redirected 
to a file.  If that's not sufficient, calling ipmi_dump_sdr_record in the 
include/freeipmi/debug/ipmi-debug.h part of the library is your ownly way.

An easier hacky-way without writing a lot of code might be to take the 
libipmimonitoring example (contrib/libipmimonitoring) and turn on debugging 
that can be redirected.  Hack it up so that it doesn't retrieve any sensors, 
such as by specifying a set of record IDs that you know don't exist.  You'll 
also want to specify the REREAD_SDR flag to read the SDR every time.

Hope that leads you in the right direction.

Al

________________________________________
From: [email protected] 
[[email protected]] on behalf of Craig 
[[email protected]]
Sent: Wednesday, August 19, 2015 8:58 AM
To: [email protected]
Subject: Re: [Freeipmi-users] Bridging sensor threshold requests

Al Chu <chu11@...> writes:

>
> Hey Craig
>
> LGTM.  It'll be in the next release of FreeIPMI.  I added the patch into
> the FreeIPMI trunk and gave you credit in the ChangeLog.  If you want,
> can you share your motherboard so the comments below are more clear?
>

Excellent!

The BMC is a Vadatech VT001 that acts as a shelf manager for a chassis full
of ATCA blades.

Also, can you point me at a tool or code example that would dump all the
records of a cached SDR file in a way similar to the --debug output?

Thanks,
Craig



_______________________________________________
Freeipmi-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/freeipmi-users

_______________________________________________
Freeipmi-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/freeipmi-users

Reply via email to