1..::lib::Smokeping::matchers::Chec.k.LS:am:tolekinebcP:yi:(nS3gm)okeping::matchers::CheckLatency(3)
2
3
4
6 Smokeping::matchers::CheckLatency - Edge triggered alert to check
7 latency is under a value for x number of samples
8
10 Call the matcher with the following sequence:
11
12 type = matcher
13 edgetrigger = yes
14 pattern = CheckLatency(l=>latency to check against,x=>num samples required for a match)
15
16 This will create a matcher which checks for "l" latency or greater over
17 "x" samples before raising, and will hold the alert until "x" samples
18 under "l" before clearing
19
21 Copyright (c) 2006 Dylan C Vanderhoof, Semaphore Corporation
22
24 This program is free software; you can redistribute it and/or modify it
25 under the terms of the GNU General Public License as published by the
26 Free Software Foundation; either version 2 of the License, or (at your
27 option) any later version.
28
29 This program is distributed in the hope that it will be useful, but
30 WITHOUT ANY WARRANTY; without even the implied warranty of
31 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
32 General Public License for more details.
33
34 You should have received a copy of the GNU General Public License along
35 with this program; if not, write to the Free Software Foundation, Inc.,
36 675 Mass Ave, Cambridge, MA 02139, USA.
37
39 Dylan Vanderhoof <dylanv@semaphore.com>
40
41
42
432.7.2 .2.0:1:9l-i0b7:-:2S6mokeping::matchers::CheckLatency(3)