Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Swatchdog::Threshold(3User Contributed Perl DocumentatiSwatchdog::Threshold(3)

NAME
	 Swatchdog::Threshold -	Perl extension for thresholding	in swatchdog(1)

SYNOPSIS
	 use Swatchdog::Threshold;

	 &Swatchdog::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 swatchdog'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),	swatchdog(1).

perl v5.32.1			  2015-09-29	       Swatchdog::Threshold(3)

NAME | SYNOPSIS | SWATCH SYNTAX | DESCRIPTION | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Swatchdog::Threshold&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help