Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin will do a snmp scan on a switch and retrieve all spanningtree blocked ports. If you specify --warning or --critical values, the plugin will exit if it finds more blocked ports. Default is 0 for both warning and critical.
Current Version
0.1.2
Last Release Date
2012-05-23
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_stpblock.pl
License
GPL
Compatible With
This plugin will do a snmp scan on a switch and retrieve all spanningtree blocked ports.
If you specify --warning or --critical values, the plugin will exit if it finds more blocked ports. Default is 0 for both warning and critical.
There is also an options to exclude ports from beeing counted, --exclude=1,2,9,50
If you want there is a --performance option that print performance data, i.e the number of port and the number of blocked ports.
Usage:
-?, --usage Print usage information -h, --help Print detailed help screen -V, --version Print version information --extra-opts=[section][@file] Read options from an ini file. See http://nagiosplugins.org/extra-opts for usage and examples. -H, --hostname=<hostname>
-C, --community=<community>
-E, --exclude=<port,port,...port>
-w, --warning=INTEGER Warning: Report warning if there are <INTEGER> or more blocked ports
-c, --critical=INTEGER Critical: Report critical if there are <INTEGER> or more blocked ports
-p --performance Report performance data back to nagios (no of ports and no of blocked ports) -t, --timeout=INTEGER Seconds before plugin times out (default: 30) -v, --verbose Show details for command-line debugging (can repeat up to 3 times)
You must be logged in to submit a review.
To:
From: