Skip to content
/ check_bw Public

Bandwidth check for use with nagios or similar based on vnstat

Notifications You must be signed in to change notification settings

Choms/check_bw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

check_bw

Bandwidth check for use with nagios or similar

Measures both transfer in Mbit/s and packets/s

Requires vnstat installed to work.

Usage:

./check_bw (-t|-p) -i (interface) -w (in,out) -c (in,out)
-t: transfer mode, measure in Mbit/s
-p: packets mode, measure in packages/s
-i: interface name
-w: warning level written as in,out - only integers
-c: critical level written as in,out - only integers

Sample:

./check_bw -t -i eth0 -w 8,4 -c 10,5

Output:

BANDWIDTH OK - rx 1.20 Mbit/s tx 1.86 Mbit/s

About

Bandwidth check for use with nagios or similar based on vnstat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages