Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


mod_watch - virtual website statistics

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
zman818



Joined: 13 Aug 2006
Posts: 10

PostPosted: Wed Aug 16, 2006 10:17 am    Post subject: mod_watch - virtual website statistics Reply with quote

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.



mod_watch.png
 Description:
 Filesize:  81.13 KB
 Viewed:  13743 Time(s)

mod_watch.png



modwatch_cacti.zip
 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

PostPosted: Mon Jan 08, 2007 12:31 pm    Post subject: Reply with quote

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

PostPosted: Thu Jan 11, 2007 2:12 pm    Post subject: Reply with quote

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



mod_watch403.tgz
 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

PostPosted: Fri Jan 19, 2007 6:58 am    Post subject: Reply with quote

Does a similar template exist for IIS?
Back to top
drewhka



Joined: 19 Apr 2007
Posts: 1

PostPosted: Thu Apr 19, 2007 7:44 am    Post subject: Reply with quote

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)


mod_watch-4.3_apache22_mod.tar.gz
 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

PostPosted: Fri Jul 06, 2007 6:35 am    Post subject: Reply with quote

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

PostPosted: Fri Nov 09, 2007 9:34 am    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group