[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]:\@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)


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 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

SNMPv2-SMI::mib- = 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