SPaReK
07-11-2002, 01:17 PM
Is there any script or program, that can monitor the bandwidth usage of particular virtualhosts set up on our servers? We have some virtualhosts that do not have an IP, but the ones I am wanting to monitor do have an IP. Is there a way I can monitor how much bandwidth is being used by this IP?
Thanks
Since you only want to moniter sites with their own IP you can use bandmin. Real easy to setup.
http://www.webhostingtalk.com/showthread.php?s=&threadid=59022&highlight=bandmin
CagedTornado
07-12-2002, 02:38 AM
We use a custom solution based on iptables accounting and MRTG. MRTG is pretty easy to get the hang of once you realize that SNMP is just feeding it 4 values to graph over time. If you do a 'google' search on MRTG and iptables you should get some useful stuff.
Dan
FHDave
07-12-2002, 02:49 AM
Mod_Watch (http://www.snert.com/Software/mod_watch/) should be general enough for your needs. It should be able to monitor the bandwith usage (And plot it using MRTG) for your virtualhost accounts, IP or IP-less.
regards,
-dave
SPaReK
07-12-2002, 10:56 AM
How do you set up bandmin to monitor a specific IP? Bandmin is already installed on the server, but I do not know how to tell it to monitor another IP of an account on the server. I looked around in various search engines and cannot find anything. bandmin.org does not appear to be registered anymore.
Thanks
Matt Lightner
07-14-2002, 03:48 AM
Bandmin should automatically monitor all IP addresses on the server. Try restarting it: /etc/rc.d/init.d/bandmin restart