nixCraft Linux Forum

nixCraft

Linux / UNIX 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 . ...

Register free or login to your existing account and remove all advertisements.


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

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2008, 05:02 PM
Junior Member
User
 
Join Date: Aug 2008
OS: centos
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 08-08-2008, 01:14 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
OS: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 643
Thanks: 10
Thanked 11 Times in 10 Posts
Rep Power: 9
rockdalinux is just really nice rockdalinux is just really nice rockdalinux is just really nice rockdalinux is just really nice rockdalinux is just really nice
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


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 Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Reverse Proxy to Backend Tomcat Servers Johnny Utah Web servers 9 11-11-2009 12:06 PM
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
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 06:30 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

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 37 38