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


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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";
Owner's Reply:

make sense. Thanks


1 of 1 found this review helpful.
Helpful? Yes 1 No 0
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,652