Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_dot3.pl
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.
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
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=
-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)
bycnoyes72, October 19, 2011
2 of 2 people found this review helpful
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; ).
Owner's reply
Sorry for the long time it took to fix this stupid error.
Thanks