[mrtg] aggregation traffic of more than one link

Luis Carlos Solano lsolano at racsa.co.cr
Thu Mar 15 15:57:09 CET 2007



John Barbieri wrote:
> MRTG has the ability to add values.
>
> You can do something like
>
>
> Target[routers]: 1:public at 192.168.1.x:::::2 + 2:public at 192.168.1.x:::::2
> + 3:public at 192.168.1.x:::::2
> MaxBytes[routers]: 202000000
> Title[routers]: Total Speed for the Routers
>
>   
For ease reading, you can do somethig like:

Target[routers]:1:public at 192.168.1.x:::::2 +
		2:public at 192.168.1.x:::::2 + 
		3:public at 192.168.1.x:::::2
MaxBytes[routers]: 202000000
Title[routers]: Total Speed for the Routers


Just be sure to leave at least a blank space at the left of each line. I mean, this is no correct:

Target[routers]:1:public at 192.168.1.x:::::2 +
2:public at 192.168.1.x:::::2 + 
3:public at 192.168.1.x:::::2
MaxBytes[routers]: 202000000
Title[routers]: Total Speed for the Routers







More information about the mrtg mailing list