check_traffic

check_traffic

This shell script can check the current traffic in kb/s on each network interface. Warning and Critical values are set globally and apply for each interface. Also supports performance output for graphing traffic.

Usage

$0 [ -w value -c value -p -h ]

Syntax

-w --> Warning integer value outgoing traffic
-c --> Critical integer value outgoing traffic
-e --> Warning integer value incoming traffic
-v --> Critical integer value incoming traffic
-p --> print out performance data
-h --> print this help screen