Swatchdog::Threshold(3pm)

Swatchdog::Threshold3pm

Usage

  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>

Overview

  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

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12–13

Author

E. Todd Atkins, [email protected]

From swatch 3.2.4-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.