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 > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
