1..::lib::Smokeping::matchers::AvgratSimoo.(k.3e:)P:ilnigb::Smokeping::matchers::Avgratio(3)
2
3
4

NAME

6       Smokeping::matchers::Avgratio - detect changes in average median
7       latency
8

OVERVIEW

10       The Avgratio matcher establishes a historic average median latency over
11       several measurement rounds. It compares this average, against a second
12       average latency value again build over several rounds of measurement.
13

DESCRIPTION

15       Call the matcher with the following sequence:
16
17        type = matcher
18        pattern =  Avgratio(historic=>a,current=>b,comparator=>o,percentage=>p)
19
20       historic
21           The number of median values to use for building the 'historic'
22           average.
23
24       current
25           The number of median values to use for building the 'current'
26           average.
27
28       comparator
29           Which comparison operator should be used to compare
30           current/historic with percentage.
31
32       percentage
33           Right hand side of the comparison.
34
35         old <--- historic ---><--- current ---> now
36

EXAMPLE

38       Take build the average median latency over 10 samples, use this to
39       divide the current average latency built over 2 samples and check if it
40       is bigger than 150%.
41
42        Avgratio(historic=>10,current=>2,comparator=>'>',percentage=>150);
43
44        avg(current)/avg(historic) > 150/100
45
46       This means the matcher will activate when the current latency average
47       is more than 1.5 times the historic latency average established over
48       the last 10 rounds of measurement.
49
51       Copyright (c) 2004 by OETIKER+PARTNER AG. All rights reserved.
52

SPONSORSHIP

54       The development of this matcher has been sponsored by Virtela
55       Communications, <http://www.virtela.net/>.
56

LICENSE

58       This program is free software; you can redistribute it and/or modify it
59       under the terms of the GNU General Public License as published by the
60       Free Software Foundation; either version 2 of the License, or (at your
61       option) any later version.
62
63       This program is distributed in the hope that it will be useful, but
64       WITHOUT ANY WARRANTY; without even the implied warranty of
65       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
66       General Public License for more details.
67
68       You should have received a copy of the GNU General Public License along
69       with this program; if not, write to the Free Software Foundation, Inc.,
70       675 Mass Ave, Cambridge, MA 02139, USA.
71

AUTHOR

73       Tobias Oetiker <tobi@oetiker.ch>
74
75
76
772.8.2                             2022.-.0:7:-l2i3b::Smokeping::matchers::Avgratio(3)
Impressum