[mrtg] Re: 0 value in "target" - for adding different values

Steve Shipway s.shipway at auckland.ac.nz
Tue Nov 1 22:23:23 MET 2005


>But this measuring is not perfect. What I would like to see on 
>my graph is:
>- user load
>- user load + system load
>

This is possible, if you use the routers2 frontend.

In this case, you should give the extra directive

routers.cgi*GraphStyle[targetname]: stack

which will plot the user and system values as a stacked area graph.

A better way, though, would be to define two separate targets (one for user,
one for system) and then define a userdefined stacked graph over the top in
routers2.  You can then have a 'total' line as well, and all the resulting
calculations.  

For an examlpe of this, you can see the routers2 demo on
www.steveshipway.org/software where a graph shows CPU as a stack of
user/system/wait on a UNIX system.

(Since its my frontend software, I am of course biased, though)

Steve

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list