View Single Post
  #2 (permalink)  
Old 08-08-2008, 12:14 AM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Mrtg graphs must configured to output files at virtual host document root. If DocumentRoot is /var/www/html, create /var/www/html/mrtg directory. Then run cfgmaker as follows:
Code:
cfgmaker --global 'WorkDir: /var/www/html/mrtg' --output /etc/mrtg/mymrtg.cfg public@localhost
indexmaker --output=/var/www/html/mrtg/index.html /etc/mrtg/mymrtg.cfg
 mrtg /etc/mrtg/mymrtg.cfg
Now browse site using http://your-ip.com/mrtg/index.html
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.

Last edited by rockdalinux; 08-08-2008 at 12:20 AM.
Reply With Quote