You can do this if you have the Routers2 frontend. First, on the one returning Kilobytes, use
Factor[]: 1024 To convert the value to bytes. This way we're all talking the same units. Next, you can define a userdefined summary graph over the two Targets with total enabled: routers.cgi*Graph[target1]: mysummary total routers.cgi*Graph[target2]: mysummary total routers.cgi*Desc[mysummary]: My Summary Graph routers.cgi*ShortDesc[mysummary]: Both Hope this helps, Steve ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabor Tokaji Sent: Wednesday, 6 August 2008 02:24 To: [email protected] Subject: [mrtg] summarizing different types of data hi, 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 correct)MIB-OID-FOUNDRY-SN-SWITCH-GROUP-MIB.mib WorkDir: (specified, irrelevant) Target[sum-net]: .1.3.6.1.4.1.1991.1.1.3.3.5.1.54.22&.1.3.6.1.4.1.1991.1.1.3.3.5.1.55.22:[EMAIL PROTECTED]:::::2 * 128 Options[sum-net]: Gauge, nopercent Title[sum-net]: 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:[EMAIL PROTECTED]:::::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 .1.3.6.1.4.1.1991.1.1.3.3.5.1.54.22&.1.3.6.1.4.1.1991.1.1.3.3.5.1.55.22:[EMAIL PROTECTED]:::::2 * 128 + 1:[EMAIL PROTECTED]:::::2 in this case will not work. Any insight would be most appreciated. thank you Gabor
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
