On 09/06/2013 10:39 PM, Rishi Kaundinya Mutnuru wrote:
> I mean occurance of a failure. I searched in samples directory, but couldn't 
> find specific code
> Of sensor type IPMI_SENSOR_TYPE_POWER_SUPPLY.Can ypu please point me 
> specifically.

Well, there's not any, those are general samples to show how things 
work.  There is a sample program that simply goes through all the 
entities and sensors and prints everything about them.  You could adapt 
that one to look for the specific entity then sensor, then when you find 
it get the information you want.

-corey

>
> Thanks,
> Rishi
>
> -----Original Message-----
> From: Corey Minyard [mailto:[email protected]]
> Sent: Friday, September 06, 2013 8:21 PM
> To: Rishi Kaundinya Mutnuru
> Cc: [email protected]
> Subject: Re: [Openipmi-developer] Power Supply failed/normal ipmi event in 
> OpenIPMI
>
> There is sample code in the "samples" directory that shows a lot of this.  If 
> you just want to periodically query a single sensor, openipmi is probably 
> overkill and ipmitool would be simpler.  If you want to continuously monitor 
> a bunch of sensors or a large number of systems, the openipmi is probably the 
> better tool.
>
> Also, events are something specific in IPMI.  Do you mean events, or do you 
> mean the occurrence of a failure?
>
> -corey
>
> On 09/06/2013 06:37 PM, Rishi Kaundinya Mutnuru wrote:
>> Hi All,
>> I am trying to find out power supply failed and power supply normal
>> IPMI events for reporting.
>> The sensor type is IPMI_SENSOR_TYPE_POWER_SUPPLY. Can you please point
>> me a skeleton code, How I can achieve this.
>> Thanks,
>> Rishi
>>
>
>
>


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to