---
name: "Smokeping::matchers::CheckLatency"
section: "3"
platform: "linux"
package: "smokeping"
version: "2.3.6-5+squeeze1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Smokeping::matchers::CheckLatency"
---

# Smokeping::matchers::CheckLatency(3)

Edge triggered alert to check latency is under a value for x number of samples

## NAME

Smokeping::matchers::CheckLatency - Edge triggered alert to check latency is under a value for x number of samples

## DESCRIPTION

Call the matcher with the following sequence:

```
 type = matcher
 edgetrigger = yes
 pattern =  CheckLatency(l=>latency to check against,x=>num samples required for a match)
```

This will create a matcher which checks for "l" latency or greater over "x" samples before raising,  and will hold the alert until "x" samples under "l" before clearing

## COPYRIGHT

Copyright (c) 2006 Dylan C Vanderhoof, Semaphore Corporation

## LICENSE

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.

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.

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.

## AUTHOR

Dylan Vanderhoof \<dylanv@semaphore.com\>
