1..::lib::Smokeping::matchers::MedianS(m3o)ke.P.i:n:glib::Smokeping::matchers::Median(3)
2
3
4
6 Smokeping::matchers::Median - Find persistant changes in latency
7
9 The idea behind this matcher is to find sustained changes in latency.
10
11 The median matcher takes a number of past median latencies. It splits
12 the latencies into two groups (old and new) and again finds the median
13 for each groups. If the difference between the two medians is bigger
14 than a certain value, it will give a match.
15
17 Call the matcher with the following sequence:
18
19 type = matcher
20 pattern = Median(old=>x,new=>y,diff=>z)
21
22 This will create a matcher which consumes x+y latency-datapoints,
23 builds the two medians and the matches if the difference between the
24 median latency is larger than z seconds.
25
27 Copyright (c) 2004 by OETIKER+PARTNER AG. All rights reserved.
28
30 This program is free software; you can redistribute it and/or modify it
31 under the terms of the GNU General Public License as published by the
32 Free Software Foundation; either version 2 of the License, or (at your
33 option) any later version.
34
35 This program is distributed in the hope that it will be useful, but
36 WITHOUT ANY WARRANTY; without even the implied warranty of
37 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
38 General Public License for more details.
39
40 You should have received a copy of the GNU General Public License along
41 with this program; if not, write to the Free Software Foundation, Inc.,
42 675 Mass Ave, Cambridge, MA 02139, USA.
43
45 Tobias Oetiker <tobi@oetiker.ch>
46
47
48
492.7.2 2019-0.7.-:2:6lib::Smokeping::matchers::Median(3)