Sorry, typo - it was of course CDEF instead DEF.
"CDEF:stufe_debug=stufe,UN,75,stufe,IF"
--> Result is 75 in the graph
With the order
"CDEF:stufe_debug=stufe,1,EQ,stufe,2,EQ,stufe,3,EQ,stufe,0,EQ,+,+,+,10,stufe,25,*,IF"
"CDEF:stufe_debug=stufe,1,EQ,stufe,2,EQ,stufe,3,EQ,stufe,0,EQ,+,+,+,10,stufe,25,*,IF"
--> Result ist "10" in the graph - one straight line.
Currently, stufe is "2".
Gesendet: Donnerstag, 28. August 2014 um 09:32 Uhr
Von: "Alex van den Bogaerdt" <[email protected]>
An: "list rrdtool" <[email protected]>
Betreff: Re: [rrd-users] Fw: Aw: Re: Empty sections in AREA on graph, but values in database
An: "list rrdtool" <[email protected]>
Betreff: Re: [rrd-users] Fw: Aw: Re: Empty sections in AREA on graph, but values in database
----- Original Message -----
From: "Thomas Brinkmann" <[email protected]>
To: "list rrdtool" <[email protected]>
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
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
