<br>Hello,<br><br>I need a little problem to resolv.<br><br>I am tracing a long time graph, where datas are dispatched along different dbs<br><br>for example for period1, I use db1.rrd, for period2 I use db2.rrd, etc...<br>
<br>Of course depending date my infos are present in only one dbs at the same time, and requests sent to an other one returns an unknown value.<br><br>My problem is to deal with this unknown values.<br><br>In a first try, I have used a workaround with a cdef adding all the values, and replacing unknown ones with a 0 :<br>
<br>for example, with 3 periods:<br><br>CDEF:TOTAL_period=0,period1,UN,0,period1,IF,+,period2,UN,0,period2,IF,+,period3,UN,0,period3,IF,+<br><br>that works, average and max values are ok, but min and last are positionned to 0 (it's normal, because some unknown values are present, and are replaced by 0 in syntax)<br>
<br>In fact the better syntax would be something like : <br><br>if period1 != unkown use period1<br>else period2 != unkown use period2<br>else period3 != unkown use period3<br>else use unknown<br><br>to preserve unknown values.<br>
<br>For the moment I have not found a valid solution (for infos I ame using rrdtool version 1.2.13 on AIX)<br><br><br>Some ideas?<br><br>Thanks a lot ;)<br><br><br><br><br><br><div style id="__af745f8f43-e961-4b88-8424-80b67790c964__">
</div>