[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-users] Bridging sensor threshold requests
From: |
Chu, Al |
Subject: |
Re: [Freeipmi-users] Bridging sensor threshold requests |
Date: |
Wed, 19 Aug 2015 17:49:42 +0000 |
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: address@hidden address@hidden on behalf of Craig address@hidden
Sent: Wednesday, August 19, 2015 8:58 AM
To: address@hidden
Subject: Re: [Freeipmi-users] Bridging sensor threshold requests
Al Chu <address@hidden> 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
address@hidden
https://lists.gnu.org/mailman/listinfo/freeipmi-users
- [Freeipmi-users] Bridging sensor threshold requests, Craig, 2015/08/17
- Re: [Freeipmi-users] Bridging sensor threshold requests, Albert Chu, 2015/08/17
- Re: [Freeipmi-users] Bridging sensor threshold requests, Craig, 2015/08/18
- Re: [Freeipmi-users] Bridging sensor threshold requests, Chu, Al, 2015/08/18
- Re: [Freeipmi-users] Bridging sensor threshold requests, Craig, 2015/08/18
- Re: [Freeipmi-users] Bridging sensor threshold requests, Al Chu, 2015/08/18
- Re: [Freeipmi-users] Bridging sensor threshold requests, Craig, 2015/08/19
- Re: [Freeipmi-users] Bridging sensor threshold requests,
Chu, Al <=
- Re: [Freeipmi-users] Bridging sensor threshold requests, Craig, 2015/08/19