<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Sorry, typo - it was of course CDEF instead DEF.</div>
<div>"CDEF:stufe_debug=stufe,UN,75,stufe,IF"</div>
<div> --> Result is 75 in the graph</div>
<div> </div>
<div>With the order<br/>
"CDEF:stufe_debug=stufe,1,EQ,stufe,2,EQ,stufe,3,EQ,stufe,0,EQ,+,+,+,10,stufe,25,*,IF"</div>
<div>--> Result ist "10" in the graph - one straight line.</div>
<div> </div>
<div>Currently, stufe is "2".</div>
<div> </div>
<div> </div>
<div> </div>
<div><b>Gesendet:</b> Donnerstag, 28. August 2014 um 09:32 Uhr</div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Von:</b> "Alex van den Bogaerdt" <alex@vandenbogaerdt.nl><br/>
<b>An:</b> "list rrdtool" <rrd-users@lists.oetiker.ch><br/>
<b>Betreff:</b> Re: [rrd-users] Fw: Aw: Re: Empty sections in AREA on graph, but values in database</div>
<div name="quoted-content"><br/>
----- Original Message -----<br/>
From: "Thomas Brinkmann" <thomas.brinkmann@email.de><br/>
To: "list rrdtool" <rrd-users@lists.oetiker.ch><br/>
Sent: Wednesday, August 27, 2014 12:00 PM<br/>
Subject: [rrd-users] Fw: Aw: Re: Empty sections in AREA on graph, but values<br/>
in database<br/>
<br/>
> > Try adding: CDEF:stufe_debug=stufe,UN,75,stufe,IF<br/>
><br/>
> - I have removed alles DEFs and CDEF as mentioned and then added the<br/>
> - DEF:stufe_debug=stufe,UN,75,stufe,IF<br/>
<br/>
???????<br/>
Does this even seem to work?<br/>
<br/>
It clearly is not what I suggested to do as a next debugging step.<br/>
I suggested to make a CDEF, not a DEF.<br/>
<br/>
> - the line then draws at 75 - so there must be unknown data?<br/>
> - GPRINT stufe_debug is 75.000000<br/>
<br/>
IF A then B else C.<br/>
A is set to: {stufe,UN} which returns true if stufe is unknown.<br/>
B is set to 75, which is returned if A is true<br/>
<br/>
If the entire line is at 75, then stufe is unknown during the entire time.<br/>
<br/>
> CDEF:stufe_debug=10,stufe,25,*,stufe,1,EQ,stufe,2,EQ,stufe,3,EQ,stufe,0,EQ,+,+,+,IF<br/>
> (by the way: everything is untested, you make it work should changes be<br/>
> required)<br/>
<br/>
I got the order wrong.<br/>
CDEF:stufe_debug=stufe,1,EQ,stufe,2,EQ,stufe,3,EQ,stufe,0,EQ,+,+,+,10,stufe,25,*,IF<br/>
<br/>
<br/>
<br/>
_______________________________________________<br/>
rrd-users mailing list<br/>
rrd-users@lists.oetiker.ch<br/>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a></div>
</div>
</div>
</div></div></body></html>