uberamd - 2010-01-14

Some people may be wondering how to monitor bandwidth from only 1 IP (for example maybe you want to only monitor the total traffic of the system that bandwidthd is installed on). This is a situation that I ran into as I did not care about traffic for the whole subnet, but only wanted to know how much traffic was going through the local system.

To do this just create a subnet entry in the config file that looks like this: subnet you.ip.address.here/32

For example if your local IP was 192.168.1.102 the entry in the config file would look like:

subnet 192.168.1.102/32

This will ensure that only the data for that specific IP is gathered and not that of every system in the subnet. The /32 at the end limits it to 1 address.