[mrtg] Re: Publishing mrtg to default website - Microsoft IIS

Jim Ruddell Jim.Ruddell at businessdecision.com
Thu Nov 23 16:09:01 MET 2006


Christopher,

3. However mrtg doesn't appear to generate a "default" or "index" page.
If in the IIS config, documents tab, I point to one of the html files,
then when I browse to the url in (2) above, I also can see all the
graphs -- for that one interface.

In addition to the suggestion of using indexmaker you can allow IIS to
present a list of files in the mrtg directory which the user can select
from the browser.  I use Apache on Linux and I limit the files shown in
the browser to the graphs created by MRTG (not the logs etc) but I'm not
sure how to make that happen in IIS. 

Jim


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Christopher Bedford
Sent: Thursday, November 23, 2006 12:43 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Publishing mrtg to default website - Microsoft IIS

I suspect this may be more of a Windows IIS question than an mrtg one,
but 
I'm not sure where exactly the solution to my problem lies. I got mrtg 
installed as a complete newbie, and after decoding the documentation
have 
it running on a W2K server box. If I go to the "workdir" 
(c:\inetpub\wwwroot\mrtg) I specified in cfgmaker, lo & behold I have a 
bunch of html & png files, amongst other things. If I double-click an
html 
file, I see traffic graphs for that interface. So far so good.

Now for the not so good news: cannot get to see this info if I try to
access

the "website" represented by this folder. Some info:

1. This machine is also running Norton Anti Virus for Exchange, which
has 
its own built in webserver for configuration. This is apparently not 
configurable, so I changed IIS to use port 8080 to avoid the conflict.
Seems

to be OK, see next point...

2. The default website specified in IIS is <c:\inetpub\wwwroot\> which 
doesn't have a default page - this is fine, there is no need to access
this 
directory. [I managed to create a basic "default.html" file, and when I
use 
Internet Explorer to open http://servername:8080
<http://servername:8080/>
I see that file.] Now I 
would like to just go to http://servername:8080/mrtg and see my mrtg 
graphs - or am I barking up the wrong tree here? (I also tried changing 
default website to <c:\inetpub\wwwroot\mrtg> but... see next point!

3. However mrtg doesn't appear to generate a "default" or "index" page.
If 
in the IIS config, documents tab, I point to one of the html files, then

when I browse to the url in (2) above, I also can see all the graphs --
for 
that one interface.

It has been many many years since I last saw a real live mrtg webpage so
I 
don't recall the details, but surely there must be some "top level" html

file somewhere that would allow click-through to the various interfaces'

graphs?

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

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



More information about the mrtg mailing list