[rrd-users] Re: Access Control for mrtg-rrd

Alex van den Bogaerdt alex at ergens.op.HET.NET
Mon Jul 8 02:01:37 MEST 2002

Nipper, Arnold wrote:

> I'm quite new to rrdtool and mrtg. I've installed mrtg and using rrdtool as
> database. Frontend is mrtg-rrd. All works like a charm. I'm monitoring two
> switches and have different customers connected to these switches. Each
> customer should be able to have access to her statistics but not be abled to
> see other. I.e customer with interface nr. 42 should be able to call
> http://myweb.with/cgi-bin/mrtg-rrd.fcgi/sw1_42.html but not
> http://myweb.with/cgi-bin/mrtg-rrd.fcgi/sw1_43.html. Any ideas?

This has little to do with mrtg and rrdtool.  You need to configure
your web server to do this.

Even if you would have told what web server you're using (...) I
don't think this is the place to go into detail on that.

The only thing configurable at the mrtg and/or rrdtool level is the
place where the data is made available.  This is often used to, for
instance, store the images in a (sort of) home directory where that
customer has access.  As long as this customer has no access to another
customer's home dir, the data should be safe.

Configuring the location from MRTG is done with workdir, or a set of
htmldir, imagedir and logdir.  NOTE: Workdir overides the settings
for htmldir, imagedir and logdir.

RRDtool cannot configured.  It can be told by the front end what
path it should use (both for the data file and for the images).
It is the front end (for instance: MRTG) that needs to be configured.

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list