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

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

Rating
1 vote
Favoured:
0
Owner
Hits
3467
Files:
FileDescription
check_bandwidth-iftop_single.shcheck_bandwidth-iftop_single.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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