<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CheckLoss</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:root@localhost" /> </head> <body style="background-color: white"> <p><a name="__index__"></a></p> <!-- INDEX BEGIN --> <!-- <ul> <li><a href="#name">NAME</a></li> <li><a href="#description">DESCRIPTION</a></li> <li><a href="#copyright">COPYRIGHT</a></li> <li><a href="#license">LICENSE</a></li> <li><a href="#author">AUTHOR</a></li> </ul> --> <!-- INDEX END --> <p> </p> <h1><a name="name">NAME</a></h1> <p>Smokeping::matchers::CheckLoss - Edge triggered alert to check loss is under a value for x number of samples</p> <p> </p> <hr /> <h1><a name="description">DESCRIPTION</a></h1> <p>Call the matcher with the following sequence:</p> <pre> type = matcher edgetrigger = yes pattern = CheckLoss(l=>loss to check against,x=>num samples required for a match)</pre> <p>This will create a matcher which checks for ``l'' loss or greater over ``x'' samples before raising, and will hold the alert until ``x'' samples under ``l'' before clearing</p> <p> </p> <hr /> <h1><a name="copyright">COPYRIGHT</a></h1> <p>Copyright (c) 2006 Dylan C Vanderhoof, Semaphore Corporation</p> <p> </p> <hr /> <h1><a name="license">LICENSE</a></h1> <p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p> <p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p> <p>You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</p> <p> </p> <hr /> <h1><a name="author">AUTHOR</a></h1> <p>Dylan Vanderhoof <<a href="mailto:dylanv@semaphore.com">dylanv@semaphore.com</a>></p> </body> </html>