Swatch::Threshold man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

Swatch::Threshold(3)  User Contributed Perl Documentation Swatch::Threshold(3)

NAME
	 Swatch::Threshold - Perl extension for thresholding in swatch(1)

SYNOPSIS
	 use Swatch::Threshold;

	 &Swatch::threshold(   SWID => <int>,
			       TYPE => <limit|threshold|both>,
			       TRACK_BY => <key>, # like an IP addr
			       COUNT => <int>,
			       SECONDS => <int>
			       );

SWATCH SYNTAX
	 threshold track_by=<key>,
	    type=<limit|threshold|both>,
	    count=<int>,
	    seconds=<int>

DESCRIPTION
	 SWID is swatch's 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
		  time interval.

	       Both
		  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

AUTHOR
       E. Todd Atkins, todd.atkins@stanfordalumni.org

SEE ALSO
       perl(1), swatch(1).

perl v5.18.1			  2006-07-21		  Swatch::Threshold(3)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net