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:publ...@12@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: [email protected] [mailto:[email protected]] 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



[r...@host]# snmpwalk -v2c -c pub...@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



_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to