Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
return a network flow alert for link switch in Nagios.
Current Version
3.11
Last Release Date
2015-11-03
Owner
NGS
License
GPL
Compatible With
The script return an Ok, WARNING or CRITICAL if the network flow exeed trigger. This script use the standard IFMIB and the snmpget/snmpwalk package. The script is in bash language. I give some comment in the script for helping anyone to modify it. All comment and help are in french (sorry).
installation : Put the script in you libexec folder and execute it
help : ./check_debit.sh -H SWITCHHOST -C COMMUNITY -v SNMPPROTO -I INTERFACETOCHECK [-F FORMAT] [-w WARNING] [-c CRITICAL]
-F Format : percent debitbps flow in bit/s debit flow in bit/s, Kb/s, Mb/s, Gb/s
WARNING : If you choose a format 'debit', you must vrote WARNING and CRITICAL value with the same unit as written in example
EXAMPLES : check_debit.sh -H 10.10.10.10 -C private -I 4 -F percent -w 60% -c 80% check_debit.sh -H 10.10.10.10 -C private -I B24 -F debit -w 162M -c 216MB check_debit.sh -H 10.10.10.10 -C private -I Trk5 -F debitbps -w 921b -c 216b
this latest release permit the "burst" option : example : check_debit.sh -H 10.10.10.50 -C private -I 24 -F percent -w 60% -c 80% -b w 3 return a "WARNING" alert if the trafic flow exeed 60% of the bandwith during 3 check (-b w 3) and a "CRITICAL" alert if the bandwith exeed 80%. OPTION : -b alert count alert : 'w' for WARNING burst or 'c' for 'CRITICAL' burst count : number of script execution during the return value will be "ok" if the network flow exeed the warning value.
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!