Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
Shtrih
Website
https://gitlab.com/nagios_plugins/check_net.sh
Download URL
https://gitlab.com/nagios_plugins/check_net.sh/raw/master/check_net.sh
License
GPL
Compatible With
main script
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;
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";
make sense. Thanks
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!