Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

check_tcptraffic

check_tcptraffic is a Nagios plugin to monitor the amount of TCP traffic

Usage

     check_tcptraffic --critical=crit --warning=warn --interface=iface --speed=speed
                      [--verbose] [--reset] [--help]

     Required arguments
      --critical,c  crit      critical
      --warning,w   warn      warning
      --interface,i iface     network interface
      --speeed,s              speed (in Mbit/s)

     Options
      --help,-h,-?            this help message
      --reset,r               initialize counter
      --version,V             print version and exit
      --verbose,v             verbose

check_tcptraffic uses the /proc/net/dev Linux entry to compute the amount of transferred bytes from the last plugin execution (temporary data is stored in the /tmp/check_tcptraffic-iface file)

32 bit kernels

Since /proc/net/dev uses 32bit counters overflows are a problem (especially on a fast interface)

Speed Maximum safe check period
10Mbit/s 55'
100Mbit/s 5'8"
1GBit/s 32"

About

check_tcptraffic is a Nagios plugin to monitor the amount of TCP traffic

Topics

Resources

License

Sponsor this project

Packages

No packages published

Languages