GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Swatchdog::Threshold(3) User Contributed Perl Documentation Swatchdog::Threshold(3)

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

  use Swatchdog::Threshold;

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

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

  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

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

perl(1), swatchdog(1).
2015-09-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.