Home Directory Plugins Network and Systems Management Check Bandwidth, with iftop, for single interface (by Nestor@Toronto)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Bandwidth, with iftop, for single interface (by Nestor@Toronto)

Rating
1 vote
Favoured:
0
Owner
Hits
7805
Files:
FileDescription
check_bandwidth-iftop_single.shcheck_bandwidth-iftop_single.sh
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!
Using iftop to check current bandwidth for ONLY one NIC.

Script were written in BASH, tested on CentOS 6.X, Nagios 3.X


# Dependency: iftop
Reviews (1)
bymdwaidari, February 6, 2018
1 of 1 people found this review helpful
not work
Owner's reply

Thanks for pointing out, it supposed to have one more parameter to put the NIC name.. eg.. eth0, ens33.. etc..

# Example
./check_bandwidth-iftop_single.sh -w 80 -c 90 ens33