1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

MRTG on plesk

Discussion in 'Plesk for Linux - 8.x and Older' started by MaRiOs, Nov 19, 2005.

  1. MaRiOs

    MaRiOs Guest

    0
     
    I've seen this conf file : /etc/httpd/conf.d/mrtg.conf

    Alias /mrtg /var/www/mrtg

    <Location /mrtg>
    Order deny,allow
    Deny from all
    Allow from localhost
    # Allow from .example.com
    </Location>

    I tried form my browser and I get that I dont have permissions...
    I tried from ssh using lynx http://localhost/mrtg/
    and I get the same :
    You don't have permission to access /mrtg on this server.
    Apache/2.0.46 (Red Hat) Server at localhost Port 80

    Has anyone ever used the mrtg installed with plesk ?
     
  2. ShadowMan@

    ShadowMan@ Guest

    0
     
    The /var/www/mrtg generally only holds the mrtg docs/instructions. Plesk usually has a separate mrtg.cfg file somewhere under /usr/local/psa

    They use it for their purpose, you could always write your own config file and call mrtg with parameters to use your conf file in a cronjob to collect your own statistics, as long as you don't mix them up with plesk's ...

    You cannot directly access the /var/www/mrtg html files since apache config is not setup to serve from there, no virtualhost sections, etc...
     
Loading...