Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
Peter Wirdemo
Website
https://sites.google.com/site/peterwirdemo/home/nagios-plugins
Download URL
https://sites.google.com/site/peterwirdemo/home/nagios-plugins/check_dot3.pl
License
GPL
Compatible With
Usage: check_dot3.pl -H <hostname> ...
-?, --usage Print usage information -h, --help Print detailed help screen -V, --version Print version information --extra-opts=[<section>[@<config_file>]] Section and/or config_file from which to load extra options (may repeat) -H, --hostname=<hostname> -C, --community=<snmp read 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> 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, [email protected]
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; ).
Sorry for the long time it took to fix this stupid error. Thanks
You must be logged in to submit a review.
To:
From: