Do this via SNMP


If your switch/router implements the BRIDGE-MIB, you can use the
"dot1dStpPortState" object. See the dot1StpPortTable for more details.



Then look for check_snmp and implement monitoring of that OID,
"check_snmp -help" should get you started.



This is one way, depending on your requirements you might be better off
using a SNMP Trap Receiver and configuring your switch to send traps for
STP topology changes... far less work on the nagios host, and more
timely reporting of changes.



________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sekhar
Sent: 12 September 2007 12:13
To: [email protected]
Subject: [Nagios-users] Checking Cisco Port States plugin for nagios



Hi Guys,



I want to monitor cisco switch port states like the following



Port 1     Active/forwarding

Port 2     Down/Disconnenct

Port 3     Active/Block



Is there any plugin or How to proceed with this?



Thanks for your help



________________________________

Check out
<http://us.rd.yahoo.com/evt=51201/*http:/autos.yahoo.com/new_cars.html;_
ylc=X3oDMTE5NWVzZGVyBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDYXV0b3MtbmV3
Y2Fy%0d%0a> the hottest 2008 models today at Yahoo! Autos.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to