[mrtg] summarizing different types of data

Gabor Tokaji gabor.tokaji at gmail.com
Tue Aug 5 16:23:41 CEST 2008


I have 2 network devices. one of them is a 10 Gbps Foundry switch which
which returns its bandwidth usage in Gauge32. The other returns the same
value using Integers. The Gauge32 is also providing its value in kilobytes,
vs the other one's bytes.
I need to summarize these two.
I am not sure how to go about it. the 10 Gbps device's config looks
something like this:

LoadMIBS: (path specified, mib is
WorkDir: (specified, irrelevant)

. at y.y.y.y:::::2
* 128
Options[sum-net]: Gauge, nopercent
MaxBytes[sum-net]: 100000000000
PageTop[sum-net]: <H1>Net Total Traffic</H1>

The non-10 Gig thing's config is something like this:

WorkDir: (specified, irrelevant)

Target[sum-net1]: 1:public at x.x.x.x:::::2
Title[sum-net1]: device1
MaxBytes[sum-net1]: 10000000000
PageTop[sum-net1]: <H1>Net1 Total Traffic</H1>

Both these work perfectly. However, how do I add them up? clearly
. at y.y.y.y:::::2
* 128 + 1:public at x.x.x.x:::::2 in this case will not work.

Any insight would be most appreciated.

thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080805/c62b185e/attachment.html 

More information about the mrtg mailing list