Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_stpblock.pl

Current Version
0.1.2
Last Release Date
2012-05-23
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
License
GPL
Hits
65097
Files:
FileDescription
check_stpblock.plcheck_stpblock.pl
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!
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.
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=

-C, --community=

-E, --exclude=

-w, --warning=INTEGER
Warning: Report warning if there are or more blocked ports

-c, --critical=INTEGER
Critical: Report critical if there are 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)