Skip to content

Nagios plugin for testing current bandwith usage on linux network interface

Notifications You must be signed in to change notification settings

pawel-akonom/check_bandwidth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

check_bandwidth
---------------

Nagios plugin for monitoring bandwidth usage on netwrk interface in Linux operatig system

Script was found on Nagios plugins dictonary:
http://exchange.nagios.org/directory/Plugins/Network-Connections%2C-Stats-and-Bandwidth/Check-interface-bandwidth/details

I removed Cisco support, I made some code refactoring and I added arguments parsing and checking

Script is reading informations from sysfs about sent and received bytes: 
/sys/class/net/<interface_name>/statistics/rx_bytes
/sys/class/net/<interface_name>/statistics/tx_bytes
for period of seconds defined by script argument.

About

Nagios plugin for testing current bandwith usage on linux network interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published