Re: [rrd-users] Stacking

2015-08-11 Thread Simon Hobson
Devante Vargas wrote: > I am working on creating a graph for my ping script. It collects, min, max > and average response times. I have added the ::STACK for the AREA after the > first AREA is defined. Problem is it adds the next two on top and moves it up > a notch, e.g. Min response time is

[rrd-users] Stacking

2015-08-11 Thread Devante Vargas
I am working on creating a graph for my ping script. It collects, min, max and average response times. I have added the ::STACK for the AREA after the first AREA is defined. Problem is it adds the next two on top and moves it up a notch, e.g. Min response time is 0.42 (this is measured accurately a

Re: [rrd-users] Stacking at Infinity

2012-03-04 Thread Martin Sperl
Hi Chris! What you are requesting is currently not possible - at least not easily. The only thing I can offer you as am option is this "red/green" approach - which is not 100% what you want. As for using the cdef as fraction - I did not say that it may work for you fully, but it may come close

Re: [rrd-users] Stacking at Infinity

2012-03-04 Thread Chris Mason
Hi Martin, Thank you for taking your time to respond. To ensure I understand this correctly, this will print a TICK on the graph for each DS. It will either be RED or GREEN depending on the value of the DS? The problem I have is I am graphing classes for QoS with a different number of classes pe

Re: [rrd-users] Stacking at Infinity

2012-03-04 Thread Martin Sperl
OK, so assuming those 3: Here a "Red/green" colorcoding you could also use: CDEF:DS1GREEN=DS1,UN,0,1,IF CDEF:DS1RED=DS1,UN,1,0,IF CDEF:DS2GREEN=DS2,UN,0,1,IF CDEF:DS2RED=DS2,UN,1,0,IF CDEF:DS3GREEN=DS3,UN,0,1,IF CDEF:DS3RED=DS3,UN,1,0,IF TICK:DS1GREEN#00ff00:-.03 TICK:DS1RED#ff:-.03 TICK:DS2GRE

Re: [rrd-users] Stacking at Infinity

2012-03-04 Thread Martin Sperl
Hi! What about the following: CDEF:CNTUNKN=DS1,UN,1,0,IF,DS2,UN,1,0,IF,+,DS3,UN,1,0,IF,+ CDEF:TICK1=CNTUNKN,1,EQ,1,UNKN,IF CDEF:TICK2=CNTUNKN,2,EQ,1,UNKN,IF CDEF:TICK3=CNTUNKN,3,EQ,1,UNKN,IF TICK:TICK1#FF:-0.03 TICK:TICK2#00FF00:-0.02 TIC

Re: [rrd-users] Stacking at Infinity

2012-03-03 Thread Chris Mason
Hi, > One line at the top (or bottom) of the graph, then stack a suffient amount > in the "wrong" direction. I never tried it, but stacking -50M "on top" of > 150M should get you at 100M. So this works normally when not working at infinity: LINE3:100#FF LINE3:-1#00FF00::STACK I assu

Re: [rrd-users] Stacking at Infinity

2012-03-02 Thread Martin Sperl
I have not fully understood how you want your graph to look visually. But maybe you can use TICK to draw your errors. I remember that I have done so to highlight times when we have exceeded predictions. You could obviously paint multiple TICKS for different types and paint them with different co

Re: [rrd-users] Stacking at Infinity

2012-03-02 Thread Alex van den Bogaerdt
> CDEF:DSxH=DSx,0,GT,INF,UNKN,IF > LINE3:DSxH#xx > > This will draw a line at INF using the classes colour if errors were > detected in that class. If multiple classes have drops then the line > will get overwritten with the later colour. I could use transparency > but then it is usually diffic

[rrd-users] Stacking at Infinity

2012-03-02 Thread Chris Mason
Hi, I am graphing class based interface statistics using RRDTOOL and I am trying to find a way to graph errors on the same graph. At the moment if I detect errors I am highlighting the background with an AREA using the INF or NEGINF functions. This works fine and I can see if I had errors during t

[rrd-users] Stacking...

2005-12-25 Thread Michael Collard
Can't seem to get the stacking working... This is the graphing command: rrdtool graph test.png -i --end now --start -30m --width 600 \ --height 200 -l 0 --title 'DSL stats' \ DEF:dsratemi=/var/db/604t.rrd:dsrate:MIN \ DEF:usratemi=/var/db/604t.rrd:usrate:MIN \ AREA:usratemi#d0ffd0:Upstream \ AREA: