Network and Systems Management

check network bandwidth on local host (with ip command)

Description:

script based on ip tool.
it checks RX and TX value of specified interface within some interval and provide speed in KB:

ip -s link show int | xargs| cut -d ” ” -f27,40

Current Version

2

Last Release Date

2018-07-05

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner

License

GPL


Project Files
Project Notes
Usage: check_net.sh -i dev -t int>0 -w int>0 -c int>0 Options: -h show this page; -t time interval between checks, in sec (default = 1sec); -i name of network interface; -w warning level (in KB) integer more then zero; -c critical level (in KB) integer more then zero;
Reviews (1) Add a Review
add perf data
by rhassing, March 31, 2016

Maybe you could change the output: echo "$code - $int:$state in-rate:${rx_rate}KB out-rate:${tx_rate}KB | RX=${rx_rate}KB TX=${tx_rate}KB"; instead of: echo "$code - $int:$state in-rate:${rx_rate}KB out-rate:${tx_rate}KB";



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.5 (2)
Favorites
0
Views
9,678