Author |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 15 Feb '06 18:11 Post subject: Apache MRTG statistics available. |
|
|
I made a perl script that interfaces the output from mod_status with mrtg.
You can view the historical data, that allows you analyze patterns of usage and set a operative baseline. For example, it enables you to know exactly how busy the Apache Server is.
See an example at: http://www.land10.nl/apachestatus/
Please test it and post your experience. Also let me know if the readme.txt is clear. Download at: http://www.apachelounge.com/download/ApacheStats.zip .
Steffen |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 16 Feb '06 16:39 Post subject: |
|
|
Is there a solution with PHP? We don't use Perl and haven't installed it for security reasons. |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
Posted: Fri 17 Feb '06 17:18 Post subject: |
|
|
Nope, MRTG is written in perl.
Btw. it uses Perl local, no web-access. MRTG generates .html and.png files in your webspace, so web-users do not access a perl script.
Steffen |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 18 Feb '06 16:33 Post subject: |
|
|
James:
It is also possible that I remote monitor your server. Mail me if you want.
Steffen |
|
Back to top |
|
ArtM
Joined: 23 Feb 2006 Posts: 59 Location: Bedford NS Canada
|
Posted: Mon 13 Mar '06 17:15 Post subject: Re: Apache MRTG statistics available. |
|
|
Tried this out.
Quote: | 9. Start the stats by double clicking on StartStats.bat and a Dos
box appears |
How do I get this to start automatically with Apache and/or system startup?
And how to start & keep running without keeping the DOS box open? Is it Possible?
Yet be able to take it down when I want. How to Stop? |
|
Back to top |
|
muerte
Joined: 12 Jan 2006 Posts: 37
|
Posted: Sun 19 Mar '06 3:58 Post subject: Re: Apache MRTG statistics available. |
|
|
ArtM wrote: |
How do I get this to start automatically with Apache and/or system startup?
And how to start & keep running without keeping the DOS box open? Is it Possible?
Yet be able to take it down when I want. How to Stop? |
I have the same questions as yours
Hope somebody can answer this~ |
|
Back to top |
|
muerte
Joined: 12 Jan 2006 Posts: 37
|
|
Back to top |
|
warrenwessels
Joined: 10 May 2007 Posts: 2 Location: Spokane, WA
|
Posted: Thu 23 Aug '07 21:47 Post subject: Accesses data not coming through? |
|
|
Hi,
I have this running against three servers, and on one the Accesses data is being reported/graphed, but not the other two... any pointers on why that would happen?
Thanks for the tool; brilliant!
-Warren |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 25 Aug '07 13:42 Post subject: |
|
|
Exactly all the same configured ?
Any error in one of the Apache logs or Stats.log in your mrtg dir.
Look also in apache.cache , for the response from your server.
Steffen |
|
Back to top |
|
bentogoa
Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 22 Sep '07 12:15 Post subject: |
|
|
Yep.
MySQL stats I made later and shall include in a next release of the Stats.
Memory stats is an other story. As you maybe know I run also the Sambar webserver, see www.apachelounge.com/viewtopic.php?t=503 .
I do not use Sambar for serving my sites, I use it only for all the very handy utilities which are included. So I use for MRTG the scheduler(CRON) feature to execute every 5 minutes MRTG.
Sambar reports quite a lot stuff, also the Memory stats I pick up from Sambar.
Steffen |
|
Back to top |
|