Active Checks

Check_debit

Description:

return a network flow alert for link switch in Nagios.

Current Version

3.11

Last Release Date

2015-11-03

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Owner

NGS

License

GPL


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!
Project Files
Project Notes
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.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
6,093