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, 04: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, 12:14 AM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 695
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
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 11:06 AM
Tomcat shell script cron job to restart server kasimani Shell scripting 4 05-03-2008 07:46 PM
Nagios on tomcat? Vince-0 Linux software 0 04-22-2008 01:30 PM
Viewing the Jakarta-Tomcat pages on Client machines shilpigoel1 Networking, Firewalls and Security 7 08-21-2007 10:53 PM
How to get MRTG of apache traffic manish_2479 Networking, Firewalls and Security 2 07-21-2007 02:15 AM


All times are GMT +5.5. The time now is 01:47 AM.


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