Manual Reference Pages - SWATCH::THRESHOLD (3)
Swatch::Threshold - Perl extension for thresholding in swatch(1)
&Swatch::threshold( SWID => <int>,
TYPE => <limit|threshold|both>,
TRACK_BY => <key>, # like an IP addr
COUNT => <int>,
SECONDS => <int>
SWID is swatchs internal ID number for the watchfor block
TYPE can be limit, threshold, or both
Limit - Alert on the 1st COUNT events during the time interval,
then ignore events for the rest of the time interval.
Threshold - Alert every COUNT times we see this event during the
Alert once per time interval after seeing COUNT occurrences of the
event, then ignore any additional events during the time interval.
SECONDS is the time interval
E. Todd Atkins, email@example.com
|perl v5.20.3 ||SWATCH::THRESHOLD (3) ||2006-07-21 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.