[mrtg] Graphing STP Topology Changes per VLAN; PVSTP

Steve Shipway s.shipway at auckland.ac.nz
Tue Jul 28 23:57:14 CEST 2009


Although cfgmaker doesn't support this sort of thing (... yet, I think) there is nothing to prevent you from constructing a Target[] definition using it.  You just need to remember to escape the '@' symbol.

Target[ezwf]: 10.10.10.1 1.3.6.1.2.1.17.2.4.0&10.10.10.1 1.3.6.1.2.1.17.2.4.0:public\@12 at hostname:::::2

Hopefully someone will write a utility (or cfgmaker will be extended) to generate configuration files using this syntax.  As far as MRTG is concerned, as long as you escape the @ symbol in the community it is all the same,  and Routers2 doesn't care at all as it doesn't use the community string (it doesn't do SNMP polling itself)

Steve

________________________________
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Chuck Sanderson


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 1.3.6.1.2.1.17.2.4 from the BRIDGE-MIB using a script similar to the following: and this is great to display the changes for default VLAN 1





However what if I want to check other VLANs say 12



[root at host]# snmpwalk -v2c -c public at 12 10.10.10.1 1.3.6.1.2.1.17.2.4.0

SNMPv2-SMI::mib-2.17.2.4.0 = Counter32: 121



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090729/5c24d29a/attachment-0001.html 


More information about the mrtg mailing list