Network Connections, Stats and Bandwidth

check_dot3.pl

Description:

Get all data from dot3StatsTable in the Etherlike MIB from the host.
Add all values from all interfaces and calculate the sum of all errors.
If the sum/second (i.e since last run) is larger then warning or critical
appropriate exit values are returned to nagios.

Current Version

0.1.1

Last Release Date

2010-09-06

Compatible With

  • Nagios 3.x

License

GPL


Project Files
Project Notes
Get all data from dot3StatsTable in the Etherlike MIB from the host. Add all values from all interfaces and calculate the sum of all errors. If the sum/second (i.e since last run) is larger then warning or critical appropriate exit values are returned to nagios. Usage: check_dot3.pl -H ... -?, --usage Print usage information -h, --help Print detailed help screen -V, --version Print version information --extra-opts=[
[@]] Section and/or config_file from which to load extra options (may repeat) -H, --hostname= -C, --community= (default is public) -w --warning report warn if more failures/sec are found -c --critical report critical if more failures/sec are found -p --performance Report performance data back to nagios -s --savedir= Directory to save stats between runs, default is /var/tmp/check_dot3 If the directory does not exists, it will be created -t, --timeout=INTEGER Seconds before plugin times out (default: 30) -v, --verbose Show details for command-line debugging (can repeat up to 3 times) Copyright (c) 2010 Peter Wirdemo, firname.lastname@gmail.com
Reviews (1) Add a Review
Interesting plugin but flawed as is.
by cnoyes72, October 31, 2011

Tested this plugin and it reported 1234 total errors, though none of the individual counters had any errors. This seemed suspicious, so looking at the code there appears to be a test value left in from what I am guessing was some debugging (line 284: $tot=1234; ).



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
4 (1)
Favorites
2
Views
93,848