----- Original Message -----
From: "Thomas Brinkmann" <***@email.de>
To: "list rrdtool" <rrd-***@lists.oetiker.ch>
Sent: Wednesday, August 27, 2014 12:00 PM
Subject: [rrd-users] Fw: Aw: Re: Empty sections in AREA on graph, but values
in database
Try adding: CDEF:stufe_debug=stufe,UN,75,stufe,IF
- I have removed alles DEFs and CDEF as mentioned and then added the
- DEF:stufe_debug=stufe,UN,75,stufe,IF
???????
Does this even seem to work?
It clearly is not what I suggested to do as a next debugging step.
I suggested to make a CDEF, not a DEF.
- the line then draws at 75 - so there must be unknown data?
- GPRINT stufe_debug is 75.000000
IF A then B else C.
A is set to: {stufe,UN} which returns true if stufe is unknown.
B is set to 75, which is returned if A is true
If the entire line is at 75, then stufe is unknown during the entire time.
CDEF:stufe_debug=10,stufe,25,*,stufe,1,EQ,stufe,2,EQ,stufe,3,EQ,stufe,0,EQ,+,+,+,IF
(by the way: everything is untested, you make it work should changes be
required)
I got the order wrong.
CDEF:stufe_debug=stufe,1,EQ,stufe,2,EQ,stufe,3,EQ,stufe,0,EQ,+,+,+,10,stufe,25,*,IF