Domenico
04-05-2001, 03:54 AM
hello,
I'm going to try to install MTRG and MOD_WATCH 2 because I want to see the data traffic from every virtual host on my RAQ.
I just installed MTRG (I don't have a cfg file yet) and now I thougt first to ask you guys if it will work or if there are going to be any problems.
Please give me your input on this.
Ok, no I must find out what router I use ;-)
Thanks!
Domenico
Snert (the script developer) , has tested it for quite some times. I think it is quite stable.
Domenico
04-05-2001, 08:28 AM
I don't get the cfg file for mod watch :-(
achowe
04-06-2001, 04:51 AM
This be Snert, developer of mod_watch for Apache & MRTG.
The answer to your question is YES. I own and develop my software on a Cobalt Qube and I know it works fine on that platform and derivatives. I know another Sys.Admin. who has tested under Solaris, though it requires some missing system #defines for flock() be specified.
The software should run anywhere Apache runs (except for Windows which I've not ported to). mod_watch/2.0 only requirement is the flock() system call (sorry haven't gotten around to fcntl() or ioctl() support yet).
mod_watch distribution comes with apache2mrtg.pl, which will help create you an MRTG cfg file for all defined <virtualhost> blocks. If you use mod_vhost_alias, you will have to write your own site-specific script to generate the cfg file from your directory stucture.
Also if you had mod_watch/1.x there is a convert.pl script to switch from DBM file to "weenie" files used for persistent data store of the counters. The DBM server was found to be inferior and is not recommended, thus the reason for mod_watch/2.0.
(I do not monitor this forum, so if there any further questions here, have someone email me to come take a look and answer.)
iplexx
06-09-2001, 09:47 AM
Domenico,
- how's mod_watch running at your RaQ?
I'm thinking on installing mod_watch & mtrg to give each costumer some additional bandwith stats...
- do you use mod_gzip aswell?
There seems to be a some problem related to the given stats (mod_watch compared to webalizer), see thread http://www.webhostingtalk.com/showthread.php?&threadid=11595
Thanks,
Martin
achowe
06-20-2001, 10:49 AM
mod_watch/2.1 should run fine on Cobalt Qube & RaQ machines. I have installed mod_gzip on my machine and it does not appear to conflict with it (though it may report uncompressed bytes instead of compressed bytes depending on module load order - I'll be looking at this issue with mod_throttle/4.0 development which is underway).
mod_watch is uses simple counters, similar to an network interface's SNMP counters. They are 32-bits and can overflow / rollover with time. MRTG tracks the counters and correctly handles the overflow condition. However, MRTG works with averages over 5 minutes intervals where as HTTP Analyze, webalizer, and similar log analysis tools use the log files themselves for more accurate stats. The problem with them is they don't run in realtime (as far as I know). mod_watch, mod_throttle, and MRTG are tools for managing a web server and/or network, not for billing control and as such they tend to work with averages and not exact numbers.