1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
4
<title>CheckLatency</title>
5
<link rev="made" href="mailto:dws@ee.ethz.ch" />
8
<body style="background-color: white">
10
<p><a name="__index__"></a></p>
16
<li><a href="#name">NAME</a></li>
17
<li><a href="#description">DESCRIPTION</a></li>
18
<li><a href="#copyright">COPYRIGHT</a></li>
19
<li><a href="#license">LICENSE</a></li>
20
<li><a href="#author">AUTHOR</a></li>
27
<h1><a name="name">NAME</a></h1>
28
<p>Smokeping::matchers::CheckLatency - Edge triggered alert to check latency is under a value for x number of samples</p>
32
<h1><a name="description">DESCRIPTION</a></h1>
33
<p>Call the matcher with the following sequence:</p>
37
pattern = CheckLatency(l=>latency to check against,x=>num samples required for a match)</pre>
38
<p>This will create a matcher which checks for ``l'' latency or greater over ``x'' samples before raising,
39
and will hold the alert until ``x'' samples under ``l'' before clearing</p>
43
<h1><a name="copyright">COPYRIGHT</a></h1>
44
<p>Copyright (c) 2006 Dylan C Vanderhoof, Semaphore Corporation</p>
48
<h1><a name="license">LICENSE</a></h1>
49
<p>This program is free software; you can redistribute it and/or modify
50
it under the terms of the GNU General Public License as published by
51
the Free Software Foundation; either version 2 of the License, or
52
(at your option) any later version.</p>
53
<p>This program is distributed in the hope that it will be useful,
54
but WITHOUT ANY WARRANTY; without even the implied warranty of
55
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56
GNU General Public License for more details.</p>
57
<p>You should have received a copy of the GNU General Public License
58
along with this program; if not, write to the Free Software
59
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</p>
63
<h1><a name="author">AUTHOR</a></h1>
64
<p>Dylan Vanderhoof <<a href="mailto:dylanv@semaphore.com">dylanv@semaphore.com</a>></p>