[mrtg] Re: Suggested Web Subdirectories and Config File Setup
bwoodcoc
bwoodcoc at genuity.com
Wed Jan 15 19:01:50 MET 2003
Hi Jim,
We are set up similar to what you are thinking of doing.
For web:
htdocs/L2/[swIP]/*.rrd
htdocs/L3/[rtrIP]/*.rrd
The thinking around this set-up was to give a bit of separation so you can
see the forest through the trees. L2 is for switches (410) and L3 is for
routers (120?). However it does make it more difficult if you build
automated navigation because you have to figure out the directory path.
For cfgs:
bin/mrtg/L3/[rtrName].cfg
bin/mrtg/L2/[swIP].cfg
The above files are pulled together into 4 operating configs, 2 for switch
and routers, using includes. The same reasoning from above applies. And you
are also capable of rebuilding individual device configs autonomously to
the run process (for the most part).
Scripts for the config builds and the main configs are in bin/mrtg. mrtg
itself is somewhere else. Hope that helps.
cheers,
brad...
--
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