I have several domains being hosted on one server. Is there a way that I can see the current bandwidth usage by domain. For instance it would be able to tell me that domain 1 is using 4mb/s and domain 2 is using 2mb/s domain 3 is using 1.5mb/s?
I'm really not sure where to start looking for something like this. I've done quite a few searches and I can't seem to find anything.
The reason that I posted this question in this server is because its the server is running on a Debian box. If this is not the place for this question please let me know.
Bandwidth Usage by Domain
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
There is an SNMP module for Apache that might help - I think you can get per-vhost bandwidth counters from it...
Edit: hmm, looks like mod_snmp doesn't do vhosts.
mod_watch might help though, although you'd need to write some scripts to read the data, and the module doesn't look like it;s maintained anymore.
Or there's something called Covalent SNMP Conductor, which you pay for, but seems to do what you need.
Edit: hmm, looks like mod_snmp doesn't do vhosts.
mod_watch might help though, although you'd need to write some scripts to read the data, and the module doesn't look like it;s maintained anymore.
Or there's something called Covalent SNMP Conductor, which you pay for, but seems to do what you need.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
snmp counters are pretty closely tied to interfaces and have no notion of a domain.
One idea, if you have the ip addresses would be to bind one IP address to the network interface for each domain and then modify dns records to match. Even if they are name based, the queries will still get there and apache will figure it out if correctly configured.
Then you will have counters for each domain and snmp probes can be used to show the traffic.
If by bandwidth you mean 'available bandwidth' and not traffic, then different techniques are required.
One idea, if you have the ip addresses would be to bind one IP address to the network interface for each domain and then modify dns records to match. Even if they are name based, the queries will still get there and apache will figure it out if correctly configured.
Then you will have counters for each domain and snmp probes can be used to show the traffic.
If by bandwidth you mean 'available bandwidth' and not traffic, then different techniques are required.
Who is online
Users browsing this forum: No registered users and 1 guest