[mrtg] Re: multiple lines on the graphs

Joey Officer jofficer at insidehouston.org
Thu Sep 30 17:42:03 MEST 1999


You should check into RRDTool, this is essentialy MRTG v3.  I personally
have not had the need (yet) to work with RRDTool but from what I understand
it will do what you are looking for.  Another alternative is to add two or
more OIDs together like math.  For example:

Target[xyz]: 2:public at wellfleetA + 1:public at wellfleetA

this will add the two OIDs together and output as one value.  You could do
something similar like adding your system with your user time, that atleast
would free up on variable.

Just a thought...

Joey Officer
Quality Publishing, Inc.
The Woodlands, Tx. 77380
281-362-7141 x106
800-792-6397

+------------------------------------------+
|no matter where you go, there you are...  |
|                                          |
|       --buckaroo banzai                  |
+------------------------------------------+


> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
> Behalf Of Robin Kearney
> Sent: Thursday, September 30, 1999 11:31 AM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] multiple lines on the graphs
>
>
> I would like to graph 4 seperate figures which I am collecting
> from a sun via sar.
>
> I current use a script to monitor system and user time, but I
> would like to add
> 'time waiting for IO' and 'idle', I appreciate that 100 -
> (system+user+wio) = idle
> but it would be nice to see them graphically.
>
> Can mrtg graph 4 seperate things.  I have tried to make the
> external script to output
> 4 ints like this:
>
> w
> x
> y
> z
>
> and my .conf file has legends for all of these:
>
> Legend1[db0.idle]: % of time spent in user mode
> Legend2[db0.idle]: % of time spent in system mode
> Legend3[db0.idle]: % of time spent waiting for IO
> Legend4[db0.idle]: % of time spent idle
>
> but they don`t seem to appear on the graphs.  All I get is the first two.
>
> If this is possible, is it also possible to make the table under
> each graph
> show all four?
>
> I would be gratefull for any information on this topic.
>
> --
> info.name("Robin Kearney");		info.mobile("0973 818 354");
> info.email("robin at riviera.org.uk");	info.web("http://riviera.org.uk/");
>
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
>   subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list