[mrtg] Re: Accessing MRTG Graphs in a Drill Down Fashion

bwoodcoc bwoodcoc at genuity.com
Mon Nov 26 17:18:15 MET 2001


Hi Cliff,

We use a couple different techniques. The first is a java script tree 
similar as to what the other responses have shown. However ours ends up 
pointing to a directory structure for indexmaker files. A web directory 
structure pointer is not pretty to say the least but we have 200+ switches 
with isl's and 60+ routers. We need the structure to be built dynamically 
via script each day because of changes. I have not put the effort into 
making the tree build dynamically each day. However the directory 
structures for the index files is very functional. There are 3 
subdirectories: routers, switches/isls, and networks. You can walk your way 
very easily to find what you need, but there is no flash to this. The 
others responding look better indeed.

The second technique is very slick and is for routers/L3 only right now. It 
is a web image with icons indicated for each router. There is also a 
grouping function which allows for a drill down. For instance all Cambridge 
located routers are in a "Cambridge" group and Cambridge is presented as 
the icon. Click on Cambridge and it presents all of these routers. Also all 
the routers show interconnections (lines) between them, including pipe 
icons for Ethernets. This is dynamically built each night so it is an 
auto-discovery like mapping function for Layer 3.

All of the icons for routers, groups and lines are hot links. Router icons 
go to an mrtg index file for all the interfaces for that router. Group 
icons bring up the interconnectivity of all routers within the group (of 
which those router icons now lead to mrtg metrics). And lines are hot links 
to an index file showing all the interfaces within that net for which the 
line represents. Full graphical navigation to L3 metrics while depicting 
topology.

Now here is the real win. I build the connectivity relationships each night 
making this sort of dynamic. However I build the web image on the fly from 
the relations when navigating. I now have control of COLORS of OBJECTS 
during image presentation, specifically the lines are of interest. Next I 
export all of my mrtg values into a file for reference each 5 minutes. 
Using this reference I now have a L3 auto-map which color codes the lines 
by speed, utilization or response time. Waaaay cool.

Unfortunately I have struggled with how to show the world this given 
security concerns of my company. And needless to say there are strict 
conformance requirements to how mrtg targets are named and links are 
numbered. The scripts to deliver these functions are a bit complex but it 
is achievable.

cheers,
brad...

At 04:26 PM 11/24/2001 -0900, Cliff Savage wrote:

>What are ppl using to index their MRTG graphs in an overview
>sort of mode? I've seen a frameset with arrows that you diddle
>and expand the tree so you can see what graphs are available
>but I don't know what scripts are used to do this. Anyone got any
>ideas and/or examples and/or something available for download?
>
>Thx Gurus.
>
>
>--
>Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
>Archive     http://www.ee.ethz.ch/~slist/mrtg
>FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
>WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list