logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Webmaster Tools & Utilities View previous topic :: View next topic
Reply to topic   Topic: Apache MRTG statistics available.
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Wed 15 Feb '06 18:11    Post subject: Apache MRTG statistics available. Reply with quote

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: 7288
Location: Germany, Next to Hamburg

PostPosted: Thu 16 Feb '06 16:39    Post subject: Reply with quote

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: 677

PostPosted: Fri 17 Feb '06 17:18    Post subject: Reply with quote

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: 3049
Location: Hilversum, NL, EU

PostPosted: Sat 18 Feb '06 16:33    Post subject: Reply with quote

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

PostPosted: Mon 13 Mar '06 17:15    Post subject: Re: Apache MRTG statistics available. Reply with quote

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

PostPosted: Sun 19 Mar '06 3:58    Post subject: Re: Apache MRTG statistics available. Reply with quote

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 Confused

Hope somebody can answer this~
Back to top
muerte



Joined: 12 Jan 2006
Posts: 37

PostPosted: Mon 10 Apr '06 2:41    Post subject: Re: Apache MRTG statistics available. Reply with quote

Problem solved!

http://www.apachelounge.com/viewtopic.php?t=249

Thanks alot!

Very Happy
Back to top
warrenwessels



Joined: 10 May 2007
Posts: 2
Location: Spokane, WA

PostPosted: Thu 23 Aug '07 21:47    Post subject: Accesses data not coming through? Reply with quote

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: 3049
Location: Hilversum, NL, EU

PostPosted: Sat 25 Aug '07 13:42    Post subject: Reply with quote

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

PostPosted: Sat 22 Sep '07 7:42    Post subject: Pages Misssing? Reply with quote

the stats on this site has mysql and Ram information
http://www.land10.nl/apachestatus/

but the one i downladed from
http://www.apachelounge.com/download/ApacheStats.zip
does not have or create those pages.

How do i create them?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Sat 22 Sep '07 12:15    Post subject: Reply with quote

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


Reply to topic   Topic: Apache MRTG statistics available. View previous topic :: View next topic
Post new topic   Forum Index -> Webmaster Tools & Utilities