I'm not exactly sure what this means, where did you get this code? A few notes here:
* ipmi_sensor_get_normal_min gets a double value, so you should really be comparing with floating point values. * 0 (or really 0.0) and negative values are valid sensor minimums. * 0 (or 0.0, I guess) is a valid value. When getting a reading, you should check ipmi_set_sensor_scanning_enabled() and friends to make sure the data is valid. I would imagine that scanning is disabled when the machine is off, so the values are not useful. -corey [EMAIL PROTECTED] wrote: > > Given the following performed on a threshold sensor reading: > > if (ipmi_sensor_get_normal_min_specified(sensor)) { > > ipmi_sensor_get_normal_min(sensor, &sensorMin); > > } > > if (0 < sensorMin && 0 == value) { > > // NULL reading? > > } > > What does a “NULL reading” mean? I get this reading when my system is > powered off (the BMC is separately powered), but if this happens on a > machine that is not powered off, what does that mean? Or can this only > happen on a system that is powered off? > > Thanks, > > Jen > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > ------------------------------------------------------------------------ > > _______________________________________________ > Openipmi-developer mailing list > Openipmi-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openipmi-developer > ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Openipmi-developer mailing list Openipmi-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openipmi-developer