1..::lib::Smokeping::matchers::ExpLosSsm(o3k.)e.P:i:nlgib::Smokeping::matchers::ExpLoss(3)
2
3
4
6 Smokeping::matchers::ExpLoss - exponential weighting matcher for packet
7 loss with RMON-like thresholds
8
10 Match against exponential weighted average of last samples, thus new
11 values are more valuable as old ones. Two thresholds - rising and
12 falling - produce hysteresis loop like in RMON alert subsystem. If the
13 average reaches the "rising" threshold, matcher go to the "match" state
14 and hold It until the average drops under the "falling" threshold.
15
16 Call the matcher with the following sequence:
17
18 type = matcher
19 pattern = CheckLoss(hist => <hist>, rising=><rising> \
20 [,falling => <falling>] [,skip=><stat>] [,fast=><fast>])
21
22 Arguments:
23 hist - number of samples to weight against; weight will be disposed
24 with
25 exponetial decreasing manner from newest to oldest, so that
26 the
27 oldest sample would have 1% significance;
28 rising - rising threshold for packet loss, 0-100%
29 falling - falling threshold for packet loss, default is <rising>
30 skip - skip <skip> number of samples after startup before "fire"
31 alerts.
32 fast - use <fast> samples for fast transition: if the values of
33 last <fast>
34 samples more then <rising> - take "match" state, if less
35 then
36 <falling> - take "no match" state.
37
38 Note:
39 If the actual history is less then <hist> value then this value is
40 taken
41 as the actual history.
42
44 Copyright (c) 2008 Veniamin Konoplev
45
46 Developed in cooperation with EU EGEE project
47
49 This program is free software; you can redistribute it and/or modify it
50 under the terms of the GNU General Public License as published by the
51 Free Software Foundation; either version 2 of the License, or (at your
52 option) any later version.
53
54 This program is distributed in the hope that it will be useful, but
55 WITHOUT ANY WARRANTY; without even the implied warranty of
56 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
57 General Public License for more details.
58
59 You should have received a copy of the GNU General Public License along
60 with this program; if not, write to the Free Software Foundation, Inc.,
61 675 Mass Ave, Cambridge, MA 02139, USA.
62
64 Veniamin Konoplev <vkonoplev@acm.org>
65
66
67
682.7.2 2019-.0.7:-:2l6ib::Smokeping::matchers::ExpLoss(3)