On 05/26/2014 10:10 AM, sarath azad wrote: > Hi Corey, > > Thanks for the information. > > Could you please clarify below question regarding LED sensors on the > system? > > Are the states 2, 3, onwards represents the color of the LED discrete > sensor? Unlike this , the meaning of each of the Power supply > discrete sensor's, were given in OpenIPMI PDF doc (IPMI- A Gentle > Introduction with OpenIPMI). > On our system, for LEDs showing Blue, state 2 was set, for Green, > state 4 was set and for Amber, state 5 was set. > Could you please tell what does each state of the LED sensors represent? >
Unfortunately, I can't, because there's nothing in the spec that talks about that. It depends on your hardware and manufacturer. You'll have to ask them. -corey > thanks and regards > S Sarath > > > > On Tuesday, May 20, 2014 8:18 AM, Corey Minyard <[email protected]> wrote: > > > On 05/19/2014 12:49 AM, sarath azad wrote: > > Hi Corey, > > > > Could you please if my understanding regarding sensor event handlers > > is ok or not? > > > > That is correct from my understanding. > > However, some systems don't implement it this way. They will generate a > going low for an upper threshold. So you need to check your system. > > -corey > > > > To a sensor event handler we are getting inputs as enum > > ipmi_event_dir_e dir, enum ipmi_thresh_e threshold, enum > > ipmi_event_value_dir_e high_low. > > So now if it is temperature sensor and it detects a raise in > > temperature more than the given threshold value, then the sensor event > > handler function will be called with the below values: > > threashold is upper eg. IPMI_UPPER_CRITICAL, > > dir = IPMI_ASSERTION > > high_low = IPMI_GOING_HIGH > > and if the temperature returns to normal then again the same function > > is called with below values: > > threashold is upper eg. IPMI_UPPER_CRITICAL, > > dir = IPMI_DEASSERTION > > high_low = IPMI_GOING_HIGH > > > > similarly for a voltage sensor and it detect a drop in voltage than > > given threshold value then the function will be called with below > values: > > threashold is lower eg. IPMI_LOWER_CRITICAL, > > dir = IPMI_ASSERTION > > high_low = IPMI_GOING_LOW > > and if the voltage again returns to normal range then the function is > > called with below values: > > threashold is lower eg. IPMI_LOWER_CRITICAL, > > dir = IPMI_DEASSERTION > > high_low = IPMI_GOING_LOW > > > > Please correct me if my understanding is incorrect. > > > > Thanks and regards > > S Sarath > > > > > ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
