Werk #5465

ComponentLivestatus
TitleFixed calculation of standard deviation.
Date2017-11-24 10:57:58
Check_MK EditionCheck_MK Raw Edition (CRE)
Check_MK Version1.5.0i2
Level1 - Trivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

Note: This fixes only a slightly esoteric feature, namely "Stats: std ..." headers. Normal users are not affected, only those using this header via self-written scripts.

Livestatus incorrectly used a bias correction when calculating the standard deviation. For more mathematical background see:

https://en.wikipedia.org/wiki/Bessel%27s_correction http://mathworld.wolfram.com/StandardDeviation.html