[mrtg] Two graphs are combined into one graph how?

Steve Shipway s.shipway at auckland.ac.nz
Thu Nov 8 23:58:43 CET 2012


> I have mrtg graph as shown in the following image link
> http://i45.tinypic.com/2jecp3k.png
> and I want to combine them into one graph, so the first line graph are
> 4 different colors

To do this, you would need to be using RRDTool for your backend.

If you are using RRDTool with the Routers2 frontend, you can combine them into a single graph by using

routers.cgi*Graph[stream.conns]: combined
routers.cgi*Graph[stream2.conns]: combined

Then maybe add some other options like

routers.cgi*ShortDesc[combined]: Combined graph
routers.cgi*Desc[combined]: All stream connection

However, if you are not using Routers2, you will need to check the documentation of the frontend you're using.  You can do it with mrtgcgi of course but you will need to write out the whole command line yourself.  If you are using native mode (IE, not using RRDTool) then you cannot make a combined graph.

Steve

Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
 Please consider the environment before printing this e-mail 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5900 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20121108/8867cc23/attachment.bin 


More information about the mrtg mailing list