|
|
| Author |
Message |
zman818
Joined: 13 Aug 2006 Posts: 10
|
Posted: Wed Aug 16, 2006 10:17 am Post subject: mod_watch - virtual website statistics |
|
|
mod_watch/Cacti v0.9
- implemented by zman818 (zman818@hotmail.com)
- based on original work by Anthony Howe (snert.com)
mod_watch/Cacti (mwc) is a Cacti implementation of Anthony Howe's most excellent mod_watch module for Apache/MRTG. Mod_watch will watch and collect the bytes, requests, and documents in & out per virtual host, file owner, remote-ip address, directory or location, and the web server as a whole (configured through the use of httpd.conf directives).
A more detailed overview of mod_watch itself can be viewed at http://www.snert.com/Software/mod_watch/
The example below shows simple traffic statistics for 3 individual, virtual sites running under the same apache server. Other statistics are also available (hits, documents, etc). It's a simple adaptation of the stock bandwidth graph. Obviously such things as total traffic could be added to dress it up.
Please note that this is my first attempt at packaging and distributing a template. If I've borked it, I apologize in advance.
| Description: |
|
| Filesize: |
81.13 KB |
| Viewed: |
13742 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
modwatch_cacti.zip |
| Filesize: |
5.56 KB |
| Downloaded: |
1108 Time(s) |
|
|
| Back to top |
|
 |
jmeyerdo
Joined: 02 May 2005 Posts: 26 Location: Dortmund, Germany
|
Posted: Mon Jan 08, 2007 12:31 pm Post subject: |
|
|
Hi!
Great script/module.
But unfortunately website of mod_watch is not available these days (no longer available?).
Does anyone know if the module (as RPM for Fedora Core or as Source) is available anywhere else?
Is there any other solution to graph the traffic for different virtual hosts?
Kind regards, Jens
|
|
| Back to top |
|
 |
unclecameron
Joined: 11 Jan 2007 Posts: 1
|
Posted: Thu Jan 11, 2007 2:12 pm Post subject: |
|
|
Yeah, I found the same problem with snert not serving up pretty much anything these days, for no apparent reason. Anyway, I found this version of mod_watch lurking around somewhere, YMMV though as I haven't been able to install it yet, since I don't want to recompile and apxs wasn't loaded originally on the server I'm testing it on. I'm building a new server this weekend that I'll try to build this module into, I'll let you know if that works.
Anyway, here it is, let me know if you get it working
Cameron
San Diego
| Description: |
| mod_watch4.03, this one is for Apache2, I don't have the older version for Apache 1.3 |
|
 Download |
| Filename: |
mod_watch403.tgz |
| Filesize: |
97.25 KB |
| Downloaded: |
868 Time(s) |
|
|
| Back to top |
|
 |
WimanX
Joined: 17 Jan 2007 Posts: 4
|
Posted: Fri Jan 19, 2007 6:58 am Post subject: |
|
|
| Does a similar template exist for IIS?
|
|
| Back to top |
|
 |
drewhka
Joined: 19 Apr 2007 Posts: 1
|
Posted: Thu Apr 19, 2007 7:44 am Post subject: |
|
|
Corrected version of mod_watch_4.3 for Apache 2.2 (old sources contain deprecated macro & functions). Successfuly tested on Apache/2.2.4 (FreeBSD)
| Description: |
|
 Download |
| Filename: |
mod_watch-4.3_apache22_mod.tar.gz |
| Filesize: |
95.74 KB |
| Downloaded: |
1649 Time(s) |
|
|
| Back to top |
|
 |
Indiana
Joined: 06 Jul 2007 Posts: 13
|
Posted: Fri Jul 06, 2007 6:35 am Post subject: |
|
|
Hi all,
I use mod_watch4.03 with apache 2.0 (on debian sarge) but /watch-list didn't show all virtual hosts.
Only 18 of 21
The missed three are equal the other vhosts entries (all are automatic generated out of a webfrontend).
|
|
| Back to top |
|
 |
Indiana
Joined: 06 Jul 2007 Posts: 13
|
Posted: Fri Nov 09, 2007 9:34 am Post subject: |
|
|
Hmm .. still get some crazy results .. some vhosts are listed some not
Moved now from apache2.0 to 2.2 (and mod watch 4.03 to 4.3).
Edit: Ok, now I got it .. It there is no bit of the vhost requestet it isn't in the watch-hash.
|
|
| Back to top |
|
 |
|