[mrtg] Reversing Graph Help

Steve Shipway s.shipway at auckland.ac.nz
Mon Sep 15 05:21:40 CEST 2008


>I am running MRTG 2.16.2 on a Windows 2003 Server.
>Currently I am monitoring about 30 different computers/switches
>on our school's network.
>I have a couple graphs where I would like the reverse the
>Incoming/Outgoing traffic graphs because I am on the other side of a switch.
>I have tried putting a - (minus) sign in without and change in the
>graphs. Can someone offer me some advice? Here's an MRTG
>comfit for one of the graphs in question.

If you add the minus sign, then it changes how the data are stored.  Basically, the In and Out counts are swapped before storing in the RRD.  This will not change the display of existing data, though!  All it does is reverse the data between retrieval and storage.

If you want to change the way existing data are stored, your only option is to change teh labels by redefining Legend{IO1234} to reflect how you want them displayed.

If you are using the Routers2 frontend, there is also the 'reverse' extended option which swaps the data between storage and display.  This may be what you want.

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080915/a35e4105/attachment.html 


More information about the mrtg mailing list