nixCraft Linux / UNIX / Shell Scripting 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 account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting 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

 

Thread Tools Display Modes
  #1 (permalink)  
Old 7th August 2008, 04:02 PM
Junior Member
 
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 8th August 2008, 12:14 AM
rockdalinux's Avatar
Is that all you got?
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 840
Thanks: 21
Thanked 45 Times in 38 Posts
Rep Power: 13
rockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to beholdrockdalinux is a splendid one to behold
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; 8th August 2008 at 12: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 11th November 2009 11:06 AM
Tomcat shell script cron job to restart server kasimani Shell scripting 4 3rd May 2008 07:46 PM
Nagios on tomcat? Vince-0 Linux software 0 22nd April 2008 01:30 PM
Viewing the Jakarta-Tomcat pages on Client machines shilpigoel1 Networking, Firewalls and Security 7 21st August 2007 10:53 PM
How to get MRTG of apache traffic manish_2479 Networking, Firewalls and Security 2 21st July 2007 02:15 AM


All times are GMT +5.5. The time now is 01:30 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 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 39 40