[mrtg] Graphing STP Topology Changes per VLAN; PVSTP

Chuck Sanderson ChuckSa at jeld-wen.com
Tue Jul 28 23:33:38 CEST 2009

Is there a way to use community string indexing within mrtg/routers2
such that I can poll STP topology for all VLANs? For example, currently
I can poll and graph the object dot1dStpTopChanges
from the BRIDGE-MIB using a script similar to the following: and this is
great to display the changes for default VLAN 1
Target[]: at
YLegend[]: STP Topologyhanges since last reload
ShortLegend[]: Topology Changesnges for VLAN 1</h1>
Legend1[]: STP Changes
LegendI[]: &nbsp;dot1dStpTopChanges
SetEnv[]: MRTG_INT_IP="" MRTG_INT_DESCR="Vlan 1"
routers.cgi*Icon[]: cisco-sm.gif
MaxBytes[]: 500
Options[]: gauge, growright, nopercent
Title[]: STP Topology Changes since last reload
PageTop[]: <h1>STP Topology Changes for VLAN 1</h1>
However what if I want to check other VLANs say 12
[root at host]# snmpwalk -v2c -c public at 12
SNMPv2-SMI::mib- = Counter32: 121
Can this be done? 



Chuck Sanderson

Technology Services - Network Group


JELD-WEN, inc.

Information Systems


chucksa at jeld-wen.com


RELIABILITY for real life(r)



This correspondence is for the named person's use only. It may contain
confidential or legally privileged information and is intended solely
for the named addressee. If you receive this correspondence in error,
please notify the sender and delete it from your system. You must not
disclose, copy or rely on any part of this correspondence if you are not
the intended recipient.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090728/79b7872c/attachment.html 

More information about the mrtg mailing list