Ticket #114 (closed defect: worksforme)
rpn expressions without DEF or CDEF variables SHOULD BE supported
| Reported by: | human | Owned by: | oetiker |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | rrd_graph | Version: | |
| Keywords: | rrd variables | Cc: | rrdtool@… |
Description
Use-case for rpn without variables is "smart" HRULE.
rrdtool graph $dir-$hours.png --lazy \ ... CDEF:limit_top=LTIME,$(( 24 * 60 * 60)),%,$(( 8 * 60 * 60)),$(( 20 * 60 * 60)),LIMIT,UN,32000,16000,IF \ CDEF:limit_mid=limit_top,2,/ \ "LINE:limit_mid#666600 LINE2:limit_top#666600"
Now I have to use ugly constructions with fake variables:
CDEF:limit_top=foo,foo,-,LTIME,+,$(( 24 * 60 * 60)),%,$(( 8 * 60 * 60)),$(( 20 * 60 * 60)),LIMIT,UN,32000,16000,IF
So CDEF without variables IS not error.
Change History
comment:2 Changed 4 years ago by oetiker
- Status changed from new to assigned
a CDEF variable must have a 'resolution' without DEF connection it has no resultion ... changeing that is pretty deep ... in any event, the most efficient way for getting around this is to use
CDEF:x=foo,POP,...
take a look at the code ... implementation ideas for such a change are welcome ...
re your second issue ... I am not aware that there is a way to hide the cc list in trac. cheers tobi



And one more note, is it possible to hide CC list (and e-mail addresses) from anonymous persons ? That may slow down address crawlers.