i tried to do the following:
i have 2 lan interfaces for which i get the in/out bps.
what i wanted to have is a range-graph of both input values ranged and a second graph with both output-values ranged.
now i tried the following:
routers.cgi*Graph[INT-A]: combined-out noi #00FF00
routers.cgi*Graph[INT-A]: combined-in noo #00FF00
routers.cgi*Graph[INT-B]: combined-out noi #0000FF
routers.cgi*Graph[INT-B]: combined-in noo #0000FF
routers.cgi*InCompact[_combined-out]: no
routers.cgi*InSummary[_combined-out]: yes
routers.cgi*Options[_combined-out]: nomax nototal
routers.cgi*GraphStyle_combined-out]: range
routers.cgi*InCompact[_combined-in]: no
routers.cgi*InSummary[_combined-in]: yes
routers.cgi*Options[_combined-in]: nomax nototal
routers.cgi*GraphStyle_combined-in]: range
...
but as i expected this doesnt work, as routers.cgi cals the range between the in/out values of each device.
how could i achieve what i want? a range between the in-interfaces of 2 devices / the out-interfaces of 2 devices?
one alternative of course would propably be the gather the real in-value of one device as a mrtg-in of a virtual device and the real in-value of the other device as mrtg-out of a virtuel device.
but his would mean i have to double-poll a device, which i would prefer the prevent.
maybe this could lead to a new feature proposal for the next version :-)
another nice thing would be to have mrtg calc the differene betwen 2 in values of a device and show that as graph :-)Statistics: Posted by disorganizer — Fri Aug 20, 2004 5:38 am
]]>