Re: Two graphs are combined into one graph how?

Steve Shipway <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <7294716191A1E142B80615ED2C633BCA55FE7F35@uxcn10-2.UoA.auckland.ac.nz>
> 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: [email protected]
 Please consider the environment before printing this e-mail

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
smime.p7s (application/x-pkcs7-signature, 5.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.