nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

mrtg apache tomcat

This is a discussion on mrtg apache tomcat within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; I'm using apache and tomcat , and have a virtual host configured in my httpd.conf . everything works fine . ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 08-07-2008, 05:02 PM
Junior Member
User
 
Join Date: Aug 2008
My distro: centos
Posts: 1
Rep Power: 0
blackj is on a distinguished road
Default mrtg apache tomcat

I'm using apache and tomcat , and have a virtual host configured in my httpd.conf . everything works fine . but I cant configure them to work with mrtg. when i shut down tomcat . i can connect to mrtg.
there should be something wrong with jk configuration i think.any ideas....
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-08-2008, 01:14 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
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.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat

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

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Tomcat shell script cron job to restart server kasimani Shell scripting 4 05-03-2008 08:46 PM
Nagios on tomcat? Vince-0 Linux software 0 04-22-2008 02:30 PM
Reverse Proxy to Backend Tomcat Servers Johnny Utah Web servers 8 12-13-2007 05:20 AM
Viewing the Jakarta-Tomcat pages on Client machines shilpigoel1 Networking, Firewalls and Security 7 08-21-2007 11:53 PM
How to get MRTG of apache traffic manish_2479 Networking, Firewalls and Security 2 07-21-2007 03:15 AM


All times are GMT +5.5. The time now is 03:50 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36