Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
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: